Fix Topological and Geometry Errors using QGIS and Mapshaper

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 48

  • @abyewa1
    @abyewa1 5 місяців тому +1

    your contribution to geospatial science even to the science community is huge , Thank you Professor for your big effort and sharing valuable techniques from Ethiopia

  • @ShubhamKumar-mc3ud
    @ShubhamKumar-mc3ud Рік тому +1

    Lots of Love from Central University of Rajasthan India...the efforts you are making to educate ourselves who are new and working in the field of Environmental Science... Hat's off to you.

  • @raiyans
    @raiyans Рік тому +2

    Simply love it. very useful tutorial. much appreciated 💚

  • @briansteiner7135
    @briansteiner7135 2 місяці тому +1

    Great explanation of a useful wokflow

  • @KurtTrinko-dq1nc
    @KurtTrinko-dq1nc Рік тому +2

    very good explainations, thank you!

  • @kavyajeetbora2585
    @kavyajeetbora2585 Рік тому +1

    Thanks for this tutorial very informative

  • @Kyle-zg5mj
    @Kyle-zg5mj Рік тому +1

    Thank you! Does the v.clean tool in QGIS do the same thing?

    • @SpatialThoughts
      @SpatialThoughts  Рік тому +3

      Yes. But v.clean is slower and more clunky to use than mapshaper.

  • @yannkoguy3803
    @yannkoguy3803 Місяць тому

    Thank you very much 👏👏

  • @vlarids
    @vlarids Рік тому

    Wow! This solved my difficulties fixing topology in QGIS. It took less than 10 minutes! Thank you so much!

  • @abdulrashidhassan7649
    @abdulrashidhassan7649 Рік тому

    this was amazing, thank you, how does one incorporates this in edge matching, when a map exists between two different data and you do not want that gap and want them to fit at the edge

  • @gilangauliaherlambang
    @gilangauliaherlambang Рік тому

    Terimakasih kang berkat jasamu pekerjaanku menjadi ringan

  • @userh097hs
    @userh097hs Рік тому

    thank you and I love You for sharing this.

  • @MahaSheikh-m2g
    @MahaSheikh-m2g 5 місяців тому

    Hi! How can it be used to fix topological errors for more than one layer such as overlaps between polygons in different layers ?

    • @SpatialThoughts
      @SpatialThoughts  5 місяців тому

      Topology can be maintained among features of the same layer only. If your polygons are in different layers, merge them using the 'Merge Vector Layers' tool in QGIS. If the layers represent different themes (like Layer 1 for admin1, Layer 2 for Admin2 etc.) - there's no easy way to harmonize them. It needs to be done manually by editing the polygons.

  • @ganeshamale5099
    @ganeshamale5099 Місяць тому

    When I use the clean command to remove topology errors, the errors like gaps are resolved, but some features are also removed. I want the errors (gaps) to be filled, and all polygons to be retained. What should I do to achieve this?

    • @SpatialThoughts
      @SpatialThoughts  Місяць тому

      Do those features have empty geometries? That maybe the cause of the removal. -allow-empty will prevent their removal. See github.com/mbloch/mapshaper/wiki/Command-Reference#-clean

  • @MrPaopen
    @MrPaopen Рік тому

    It seems very powerful and precise, thanks for the useful tutorial!...but.... it doesn't work using more than one shapefile, does it? It would be perfect if it could make a polygonal topological checks between two or more shapefiles/themes/Feature Classes... (i.e. Vegetation+Soils+Urban Areas+polygonal Rivers ....).

    • @SpatialThoughts
      @SpatialThoughts  Рік тому +1

      Mapshaper can work with multiple layers. You can drag and drop them and use them. See spatialthoughts.com/2019/11/08/optimizing-office-commute/
      I am not sure how the topologycal checks would work between 2 layers though.

  • @pedrocapr
    @pedrocapr Рік тому

    ¿Cómo hacer dicho proceso dentro de QGIS?

  • @TheProfyTime
    @TheProfyTime Рік тому

    its very useful. can we copy a query of the functions being run in mapshapper and use it in qgis?

    • @SpatialThoughts
      @SpatialThoughts  Рік тому

      No. These are both separate systems and use different algorithms for fixing topology.

    • @TheProfyTime
      @TheProfyTime Рік тому

      @@SpatialThoughts yes i know. But i want the background query to use it in other lamguages like Java or C++.

    • @TheProfyTime
      @TheProfyTime Рік тому

      @@SpatialThoughts i have one more question. I have a data set on global level with some invalid geometries of countries. It is not required to fix the geometries rather to change the projection system and do the topology corrections. How could we resolve the topology issues while using global data of all countries. Should we customize the projection system then take one country as reference point and fix the topolgy of all countries on the basis of it.. Could you guide me in this regard?

  • @AmreeshkaurKosherclimate
    @AmreeshkaurKosherclimate Рік тому

    I am unable to export the result as shapefile/kml. Can you please let me know if I may be missing something?

    • @SpatialThoughts
      @SpatialThoughts  Рік тому

      Are you not able to click the 'Export' button in Mapshaper? What error do you get?

    • @amreeshbhullar7925
      @amreeshbhullar7925 Рік тому

      ​@@SpatialThoughtsThere is no error..it is creating a file which is neither a shapefile or kml..It is showing in the folder but it doesn't open in any software...It is also showing size of file as 111kb.

    • @SpatialThoughts
      @SpatialThoughts  Рік тому

      @@amreeshbhullar7925 Send your original file, the steps you applied and the resulting file to me at ujaval@spatialthoughts.com. Will take a look and guide you.

  • @ganeshamale5099
    @ganeshamale5099 4 місяці тому

    I want to fix line error means only fili two line gaps and merge those line how to do ?

    • @SpatialThoughts
      @SpatialThoughts  4 місяці тому

      Probably best to do it in QGIS by manually editing the layer using the built-in tools. I have an example of how to use hte Vertex Tool to fix a single line gap www.qgistutorials.com/en/docs/3/handling_invalid_geometries.html

  • @rouge_CiCada
    @rouge_CiCada Місяць тому

    I faced an issue recently when I downloaded the vector population data and added it to qgis over my study area shape file they were also mismatched. Is it possible to solve this issue ?

    • @SpatialThoughts
      @SpatialThoughts  Місяць тому

      The 'mismatch' you refer to could be due to bad georeferencing, datasets digitized at different scales, or data from different time periods. Conflating different datasets like this is a hard problem and there are no automated solutions.

    • @rouge_CiCada
      @rouge_CiCada Місяць тому

      @SpatialThoughts I used sample data from a reputed site and country shape files from GitHub and realised this issue.

  • @pauln3272
    @pauln3272 Рік тому

    Nice video. Get new ideas from it. I had tried the plugin part but it is more frequent. But Ujjawal Sir, while exporting the layer to shape file it loss the previous attributes that are on original layer. Output layer only contains FID. Any thing on this? Is there any way to retain the attributes.

    • @SpatialThoughts
      @SpatialThoughts  Рік тому

      Mapshaper export preserves all the attributes for me. Did you apply any other operation on the layer? Simply running 'clean' doesn't remove any attributes.

    • @ramonsantossouza9810
      @ramonsantossouza9810 8 місяців тому

      you have to attach all the files not just the .shp

  • @SalainganbaKhangembam
    @SalainganbaKhangembam Рік тому

    Sir would kindly make a tutorial on network analysis taking into consideration of the DEM or slope as friction?

    • @SpatialThoughts
      @SpatialThoughts  Рік тому

      See this video where I show how to do it ua-cam.com/users/liveZLmdft26seE?si=t6K38xxaZZyQfJOw&t=1544
      Step-by-step at github.com/timlinux/QGIS-Freestyle/issues/1#issuecomment-907280453

  • @nayrd79
    @nayrd79 10 місяців тому

    thank you so much..this helps a lot..

  • @kasilib
    @kasilib 2 місяці тому +1

    so helpful

  • @Dkofficialb3-k
    @Dkofficialb3-k 4 місяці тому

    really useful, you saved me

  • @Motsan-cn8nf
    @Motsan-cn8nf Рік тому

    Very useful tip ❤

  • @oussamahamidat5267
    @oussamahamidat5267 Рік тому

    Legendary ❤

  • @muhmmmadsulaiman946
    @muhmmmadsulaiman946 4 місяці тому

    sir we are waiting for a webgis course from begginer to advance in qgis

    • @SpatialThoughts
      @SpatialThoughts  4 місяці тому +1

      Not a full course but a tutorial on publishing qgis maps on the web using qgiscloud coming soon.

  • @gokulgopan4276
    @gokulgopan4276 Рік тому

    This is amazing

  • @FAJARSETIAWANYULIANO
    @FAJARSETIAWANYULIANO Рік тому

    mantab