[gdal-dev] Getting VPF data via OGR java bindings

Chaitanya kumar CH chaitanya.ch at gmail.com
Wed Feb 1 23:08:32 EST 2012


Billy,

These programs run very similar to the original programs described in the
OGR utilities page[2]. They just have less functionality and not updated as
regularly.

PS: The gdal.org site is down at the moment.

[2]: http://www.gdal.org/ogr_utilities.html

On Thu, Feb 2, 2012 at 12:23 AM, Billy Newman <newmanw10 at gmail.com> wrote:

> Do you have examples of how ogr2ogr.java and ogrinfo.java are run.  I.E.
> do you have test cases for these sample programs?
>
> Thanks a ton, this is really helpful.
>
>
> On Wed, Feb 1, 2012 at 10:01 AM, Chaitanya kumar CH <
> chaitanya.ch at gmail.com> wrote:
>
>> Billy,
>>
>> There are sample java programs that use GDAL's java bindings in the GDAL
>> code tree[1]. There include sample ogrinfo and ogr2ogr codes too.
>>
>> [1]: http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps
>>
>> On Wed, Feb 1, 2012 at 10:12 PM, Billy Newman <newmanw10 at gmail.com>wrote:
>>
>>> I am able to get VPF (vector product format) info and perform operations
>>> (like convert to shape files) command line using ogrinfo and ogr2ogr.  What
>>> I am wondering is if the java bindings for ogr support the same.
>>>
>>> i.e. to get a list of layer names
>>> ogrinfo gltp:/vrf/usr4/mppl/v0eur/vmaplv0/eurnasia
>>>
>>> Can I get a list of layer names using the java bindings?
>>>
>>> i.e. convert to shape file
>>> ogr2ogr watrcrsl.shp gltp:/vrf/usr4/mppl/v0eur/vmaplv0/eurnasia
>>> 'watrcrsl at hydro(*)_line'
>>>
>>> Can I convert a VPF to a shapefile using the java bindings?
>>>
>>> Thanks
>>>
>>> _______________________________________________
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>>
>>
>>
>>
>> --
>> Best regards,
>> Chaitanya kumar CH.
>>
>> +91-9494447584
>> 17.2416N 80.1426E
>>
>
>


-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120202/957e30c0/attachment.html


More information about the gdal-dev mailing list