[postgis-users] Spatial statistics on LineString Z

2015-01-26 Thread cwright
Hi, I’ve loaded a shapefile containing height information into PostGIS using OGR2OGR. The shapefile has loaded OK and the geometry all seems to be fine in PostGIS, showing as a LineStringZ geometry. When I run st_estimated_extent on the table it fails with the error message ‘ERROR: stats for

Re: [postgis-users] Evenly distributing a point set

2015-01-26 Thread Rémi Cura
Hey, I used Nicolas's strategy and it works. You could slightly improving it by some preprocessing on the linestring itself (smoothing or simplifying, depending on your data) Cheers, Rémi-C 2015-01-25 22:32 GMT+01:00 Nicolas Ribot nicolas.ri...@gmail.com: Hello, You could build the linestring

Re: [postgis-users] Evenly distributing a point set

2015-01-26 Thread Rémi Cura
Hey, it is unclear what you want and how your data looks like. For better answer it would be good to have better info. Maybe a screen of your data, some facts, for what usage (admissible error, expected quality ..) etc etc. What you are trying to do (reconstruct a network from sampled pieces) is

Re: [postgis-users] Evenly distributing a point set

2015-01-26 Thread Dave Barter
These points were created from a GPX file along a road journey so they crudely map to a line string Map matching is the term often used to describe the process of assigning noisy Gpx points to underlying road network. My problem is a bit more involved. The GPX points represent the