[postgis-users] "Resampling" polyline shapefiles.

Howard Butler hobu.inc at gmail.com
Fri Dec 25 10:27:01 PST 2009


ogr2ogr -segmentize

will do what you want.

Otherwise  http://yukongis.wik.is/How_To/Densify_Line has more info.

On Dec 24, 2009, at 11:41 PM, Hemant Bist <hemantbist at gmail.com> wrote:

> 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.
>
> Best,
> HB
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list