[gdal-dev] ogr: linestring2d to linestring3d?

Bryan Keith bryan at ideotrope.org
Fri Jul 2 15:46:39 EDT 2010


Sure.  Sent in a separate e-mail since I doubt gdal-dev takes attachments.
 If you improve it (it certainly could be cleaned up and made more
robust), send me the improvements please.

Bryan

> Bryan,
>
> Perhaps you could share that script with us.
>
> On Fri, Jul 2, 2010 at 5:40 PM, Bryan Keith <bryan at ideotrope.org> wrote:
>
>> Oh, even better.  I found my old code.  Thanks for listening while I
>> answer my own questions.
>>
>> Bryan
>> now happy camper, improving notes on local wiki...
>>
>> > Haha, I asked the same thing 3.5 years ago:
>> >
>> > http://www.osgeo.org/pipermail/gdal-dev/2007-January/011546.html
>> >
>> > and apparently I wrote a script which I'm unable to find at this
>> point.
>> > Anyone have anything handy?
>> >
>> > Bryan
>> >
>> >> Hello,
>> >>
>> >> I have a linestring shapefile with an elevation attribute.  Is there
>> a
>> >> way
>> >> using ogr2ogr (or some other command line tool) to write out a
>> >> linestring3d shapefile which transfers the values of that attribute
>> to
>> >> the
>> >> z value of each point in the line?
>> >>
>> >> Bryan
>> >>
>> >> _______________________________________________
>> >> gdal-dev mailing list
>> >> gdal-dev at lists.osgeo.org
>> >> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>> >>
>> >
>> >
>> > _______________________________________________
>> > gdal-dev mailing list
>> > gdal-dev at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
>> >
>>
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
>
> --
> Best regards,
> Chaitanya kumar CH.
> /tʃaɪθənjə/ /kʊmɑr/
> +91-9494447584
> 17.2416N 80.1426E
>




More information about the gdal-dev mailing list