Leaflet Draw Polygon | Create, Edit, Delete Geometrics

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024

Комментарии • 60

  • @photoniccodesgmbh
    @photoniccodesgmbh Год назад +7

    I love the time we are living in right now. As a german, I was searching for a way to draw polygons on a leaflet map (wich is developed by a ukrainian) and found a guy from nepal, who explained a plugin to me that was created by a guy from New Zealand. Thanks!

    • @geodev
      @geodev  Год назад +1

      Yes, the internet world is crazy!

  • @wahyudipratama9076
    @wahyudipratama9076 Месяц назад

    your video is really helping me with my currents projects . Thank you so much.

  • @evilaniocampos3572
    @evilaniocampos3572 Год назад +2

    Parabéns pelos seus vídeos. Ele foram essenciais para o desenvolvimento do meu sistema WebGIS e ainda aumentar os conhecimentos em Javascript! Muito grato!!! Watching from Brazil!

    • @mr.vilela8071
      @mr.vilela8071 7 месяцев назад

      Muito doido encontrar um amigo do Brasil aquikkkkkk. Poderia mandar o link do seu WebGIS?

  • @abdou9383
    @abdou9383 Год назад +1

    The polygon function you created creates 2 points on top of each other each time you define a point, which gives you duplicate coordinates and is the reason that allow intersection = false causes that issue 35:00

  • @whyareyoufollowingme1588
    @whyareyoufollowingme1588 Год назад +2

    great tutorial man. you helped me so much

    • @geodev
      @geodev  Год назад

      Glad I could help!

  • @corncob567
    @corncob567 Год назад +1

    Thank you for making this! It saved me a lot of time!

    • @geodev
      @geodev  Год назад

      You are welcome!

  • @NizCoding-jy2ct
    @NizCoding-jy2ct 5 месяцев назад

    Hello ! I wanted to thank you so much for your content !! your work is very valuable for the community.
    Can you please show a specific feature to save a new drawn polygon?
    Best regards

  • @EcoresolveInc
    @EcoresolveInc Год назад +1

    Keep up the great job Tek!

    • @geodev
      @geodev  Год назад

      Thanks Mikey! Will do!

  • @DataPyar
    @DataPyar Год назад +1

    Awesome Tutorial. I was just thinking is there a way to add custom properties to GeoJSON, while drawing are created. This will be useful in many many ways...

    • @geodev
      @geodev  Год назад +1

      Yes, that's also an possible option. Here is an small code snippet for adding attribute: stackoverflow.com/a/32846044/9354344

  • @aiko-hanasta
    @aiko-hanasta Месяц назад

    Thank you for great tutorial. I have a question. Can we customize the dot rectangle for create line become dot with circle? I think when we draw polygon, the rectangle for create line was so big :(

  • @Spectre4490
    @Spectre4490 Год назад +1

    Thanks, very good demonstaration what manipulation you can do with the map

    • @geodev
      @geodev  Год назад

      Sorry what do you mean by manipulation?

  • @tholoanamothibi9381
    @tholoanamothibi9381 5 месяцев назад

    Thank you so much, you have saved me, please show me how to save all those layers in the database sir

  • @RDIntegrations
    @RDIntegrations Год назад +1

    Thank for this great video, you've really did an amazing job... could you please make a video with database with the Leaflet draw

    • @geodev
      @geodev  Год назад

      Thank you for your interest! I will release in future. Stay Tuned!

  • @khadijazenai7194
    @khadijazenai7194 9 месяцев назад

    first , many thanks for the video , it's very helpful , actually I have the same issue editing polygons on the map ( see min between 17 a,nd 18 in your video) , i wonder how did you solve it ;thank you again .

  • @owusue2402
    @owusue2402 Год назад +3

    amazing tutorial Tekson. Can you do a tutorial on how to save to database?

    • @geodev
      @geodev  Год назад +2

      Thank you for your interest! Stay tuned!

    • @owusue2402
      @owusue2402 Год назад +1

      @@geodev can’t wait sir

  • @anticanevas5509
    @anticanevas5509 Год назад +1

    Thank you , great job , could you please make a video with database with the Leaflet draw

  • @owusue2402
    @owusue2402 Год назад +1

    great job sir! I have a related project that I’m working on as a final year project and I’ll need your help. Thank you very much
    Web Map Project (Geomatic Engineering)
    Develop an interactive web map with the following features
    When a marker is placed you should be able to assign values to it.
    Name
    Population
    URL
    When a line is drawn you should be able to assign values to it.
    Name
    Road( 100 - 1 the value is the width of the line.)
    When a polygon is drawn, you should assign Name to it
    You should be able to search for a Name of anything and if the value is found on the map, it should pan to the Name.

    • @geodev
      @geodev  Год назад

      Hi Owusu, I think this is possible with the help of leaflet draw plugin. I recommend you to have a look into its official documentation. There you will get the more info about it.
      BTW most of the major things were discussed in my video.

    • @owusue2402
      @owusue2402 Год назад +1

      @@geodev thanks for the help Tekson. But I’m having trouble with how to make the drawn features remain on the map even when i reload

    • @geodev
      @geodev  Год назад

      @@owusue2402 for that, you need a database and save the geometry after it created. You need a dedicated backend for implementing such feature.

  • @tinyhydrogreens1932
    @tinyhydrogreens1932 Год назад

    Excellent video!

    • @geodev
      @geodev  Год назад

      Glad you liked it!

  • @josephamonoo9471
    @josephamonoo9471 Год назад +1

    Could you make a video on how to save the features in the database example Postgres sql please I need it for my project work

    • @geodev
      @geodev  Год назад +1

      Thanks for your interest. I will definitely cover this in my upcoming tutorials. I got lots of requests so, i need to do it.

    • @josephamonoo9471
      @josephamonoo9471 Год назад

      Thank you

  • @maksat-mad
    @maksat-mad Год назад +1

    Thanks, bro 👍👍👍

    • @geodev
      @geodev  Год назад +1

      You are welcome!

  • @aliasad6190
    @aliasad6190 Год назад +1

    how to connect this example to postgres database to save geometry

  • @jlc1854
    @jlc1854 5 месяцев назад

    merci ! C'est très bien !
    JLC

  • @ShreyaRaghoji
    @ShreyaRaghoji 13 дней назад

    How can we save the shape in db drawn on the map

  • @shivabhandari6259
    @shivabhandari6259 Год назад

    hey you beard man😊... thank you🙏

    • @geodev
      @geodev  Год назад

      😂😂 lol

  • @bhavya6060
    @bhavya6060 Год назад

    hello ! how do i get the corner points of the rectangle drawn in the leaflet draw code?

  • @KOUTOUDORANDHOSROSAIREGRODJI
    @KOUTOUDORANDHOSROSAIREGRODJI Год назад +1

    Hello, I can't insert the drawing tool into the interactive web, can you help me?

    • @geodev
      @geodev  Год назад

      You should just add the required line of code as discussed in this tutorial.

  • @gustavopessoa2892
    @gustavopessoa2892 Год назад

    hey man, i am really enjoing your videos, can you tell me how can i put some geocoords with json in my map?
    I want to put my coords in the map using geojson

    • @geodev
      @geodev  Год назад

      Hi Gustavo, I have created how to load geojson in leaflet here: ruclips.net/video/ls_Eue1xUtY/видео.html. Can you please check this video geojson part?

  • @dgiri2333
    @dgiri2333 Год назад

    Hi can you make one video for Geodjango setup for Python3.10 and Above environments run django I face issue for gdal setup.

    • @geodev
      @geodev  Год назад +1

      Sure, I will. Thanks for suggestions!

  • @mohiminulislammasud5385
    @mohiminulislammasud5385 Год назад

    Do you have any videos related to inserting, editing, or updating points, polylines, or polygons in a database

    • @geodev
      @geodev  Год назад +1

      Sorry, I don't have any, but I am thinking to do one. Stay tuned!

  • @abhishekmagar9843
    @abhishekmagar9843 Год назад

    Hello brother, how should i get all cities inside polygon area

    • @geodev
      @geodev  Год назад

      Hi, In order to do the geospatial analysis in client side, please use Turfjs. If you don't know about it, please watch the crash course here: ruclips.net/video/X_2M31p5w2M/видео.html

  • @bahira.khalid
    @bahira.khalid Год назад

    could you please make a video with database sql

  • @Conten619
    @Conten619 Год назад

    How get propertise intersect multi layer with draw..?

    • @geodev
      @geodev  Год назад

      You need to add the feature properties inside "draw:created" method as explained in this example: gis.stackexchange.com/a/211522/138203

    • @Conten619
      @Conten619 Год назад

      @@geodev how like this analize ruclips.net/video/-qQFOYwfyLI/видео.html ini minute 11.09