2

Is there a QGIS plugin or other method that simplifies parcels to share a common line(border)? I'm pretty sure I read about this some time ago. Couldn't find anything here or elsewhere.

I'd like to reduce a parcel shapefile in size to be rendered as a WMS via GeoServer.

If someone could point me in the right direction I'd appreciate it

I'm using: PostGIS 1.5 GeoServer 2.3 QGIS master(dev) Leaflet 0.6.4

  • So simplify but keep the topology intact? Or is the topology already messed up? – underdark Oct 22 '13 at 17:37
  • I did run some simplify geometries from a tolerance of 0.0001 to 0.1000 which didn't reduce the file size by much. Does simplify just remove vertices only? – geomajor56 Oct 22 '13 at 19:20
  • 0.1000 meters or degrees? Yes, simple algorithms like Douglas-Peucker only remove vertices. – underdark Oct 22 '13 at 19:27
  • details, details. Guess that would make a difference. They're in degrees. But the topology seems to be fairly tight as they've been edited to conform to a standard. Is it possible convert to TopoJSON and then upload to PostGIS 1.5? – geomajor56 Oct 22 '13 at 19:40
5

So, for me, the solution would be to upgrade PostGIS, import the shapefile in PostgreSQL/PostGIS, clean it and create a topology, and serve the resulting layer with GeoServer.

  • thank you for the info. Very helpful, I didn't know any of that. – geomajor56 Oct 22 '13 at 20:07
0

This might be an interesting rabbit hole to run down:

TopoJSON

Here are some blurbs: Difference between GeoJSON and TopoJSON and How is TopoJSON different than GeoJSON

And possible real-world usability. If you can convert from TopoJSON to GeoJSON, then you could convert from GeoJSON into PostGIS.

All this being said that I have not used either TopoJSON or GeoJSON very much, and not at all in PostGIS. But, it was the first thing that came to mind when I read your question.

  • Also, I do not know how TopoJSON compares to topology built into PostGIS. – Barrett Oct 22 '13 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.