[postgis-users] "Resampling" polyline shapefiles.

Brian Modra epailty at googlemail.com
Fri Dec 25 05:49:26 PST 2009


2009/12/25 Hemant Bist <hemantbist at gmail.com>:
> I have a polyline shapefile with each polyline having 200 segements with
> each segments length roughly 1 meter. I want to "resample" the polylines to
> have roughly 10 meter segment size and each polyline having roughly 20
> segments. I understand this may result in some loss of information.
>
>
> Can postgis help me with some  conversion like this. I need this done
> somewhat quickly. I have looked at the documentation but did not find
> anything relevant.
> I have installed postgis on ubuntu and ran some queries. That's my level of
> familiarity with postgis.
> Would appreciate any pointers.

http://postgis.refractions.net/docs/ST_Simplify.html
http://postgis.refractions.net/docs/ST_SimplifyPreserveTopology.html
http://bostongis.org/PrinterFriendly.aspx?content_name=postgis_simplify
http://old.nabble.com/simplify-a-linestring-to-n-points-td20632406.html

>
> Best,
> HB
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>



-- 
Brian Modra   Land line: +27 23 5411 462
Mobile: +27 79 69 77 082
5 Jan Louw Str, Prince Albert, 6930
Postal: P.O. Box 2, Prince Albert 6930
South Africa
http://www.zwartberg.com/



More information about the postgis-users mailing list