Thanks everyone,
Brians's suggestion of using ST_Simplify is working for me. My shapefiles
had units of degrees so I had to use tolerance of 0.00001 to get maximum
deviation of roughly 1 meter.

I haven't tried ogr2ogr -segmetnize yet. I will try it and see it this works
as well.

Happy Holidays,
HB


On Fri, Dec 25, 2009 at 1:27 PM, Howard Butler <[email protected]> wrote:

> 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 <[email protected]> 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
>> [email protected]
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
> _______________________________________________
> postgis-users mailing list
> [email protected]
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to