Re: [gdal-dev] Convert DBX/SHP to JSON using ogr2ogr

2012-06-03 Thread Charlie Sharpsteen
On Sun, Jun 3, 2012 at 10:21 AM, Even Rouault wrote: > > Can you tell how I can determine the source SRS from the files? Is > > that possible? > > Sometimes, you have an associated .prj file that contains the SRS. If the > file > is not present, then you must guess it. Or ask the person who gave

Re: [gdal-dev] Convert DBX/SHP to JSON using ogr2ogr

2012-06-03 Thread Tobias Preuss
That is the answer I was afraid of. I heard of the project file. I imagine it is quite hard to identify the correct SRS without the project file. Does ogr2ogr then recognize all settings by itself if the project file is given? ___ gdal-dev mailing list gd

Re: [gdal-dev] Convert DBX/SHP to JSON using ogr2ogr

2012-06-03 Thread Even Rouault
> Can you tell how I can determine the source SRS from the files? Is > that possible? Sometimes, you have an associated .prj file that contains the SRS. If the file is not present, then you must guess it. ___ gdal-dev mailing list gdal-dev@lists.osgeo.o

Re: [gdal-dev] Convert DBX/SHP to JSON using ogr2ogr

2012-06-03 Thread Tobias Preuss
Dear Even. I would have never had the idea that the files need to be small letters all to make the matching working. Thank you so much for this advice!!! and the additional education on the formats. Can you tell how I can determine the source SRS from the files? Is that possible? Tobias On Sun, J

Re: [gdal-dev] Convert DBX/SHP to JSON using ogr2ogr

2012-06-03 Thread Even Rouault
Le dimanche 03 juin 2012 18:32:48, Tobias Preuss a écrit : > Hello. I am trying convert shape files [1] of London (Canada) into > JSON. I am totally new to these formats but at least I found out that > ogr2ogr is able to do the job. However, there are two files that > contain the data as far as I c

[gdal-dev] Convert DBX/SHP to JSON using ogr2ogr

2012-06-03 Thread Tobias Preuss
Hello. I am trying convert shape files [1] of London (Canada) into JSON. I am totally new to these formats but at least I found out that ogr2ogr is able to do the job. However, there are two files that contain the data as far as I can tell. One file TREES.DBF contains all the properties. The other