[gdal-dev] Re: C#: Retrieve boundary of coordinate system

2010-07-08 Thread Tomas R
Looking at the data - can I from the data in the database maximize the amount of transformations I can do? As said I am only interested in to/form WGS84, perhaps there is data hidden in that database that can help gdal, help me set up gdal, to do the transformation required. The data I have no

[gdal-dev] Re: C#: Retrieve boundary of coordinate system

2010-07-08 Thread Tomas R
Ah, ok. Hard to find all details by yourself. :) Finds in the database, for example, that area 2847 is valid between Lat 56 S, Lat 68 N, Lon 14 W and Lon 17 E approximately. Just need to get it to a format my program like, XML will do fine and Excel should be able to do it. Thanks Tomas

Re: [gdal-dev] Re: C#: Retrieve boundary of coordinate system

2010-07-08 Thread Francis Markham
Yeah, I mean the "area of use" as EPSG call it. You can download the EPSG database which contains a table with areas of use from http://www.epsg.org/Geodetic.html and extract that for use in your application if that is going to be helpful for you. -F On 8 July 2010 16:53, Tomas R wrote: >  You

[gdal-dev] Re: C#: Retrieve boundary of coordinate system

2010-07-07 Thread Tomas R
You mean area_of_use_code="2847" which gives area_of_use="Sweden. For medium and small scale applications:- all country. For large scale applications:- communes between approximately 14 deg 40 min and 16 deg 55 min East. See information source for map." information_source="Lantmateriverket (N

Re: [gdal-dev] Re: C#: Retrieve boundary of coordinate system

2010-07-07 Thread Francis Markham
I think the EPSG dictionary defines areas of validity for the defined coordinate systems. That could be a starting point, although there may be a better solution -Francis On 8 July 2010 16:01, Tomas R wrote: >  No one? > > Ok, I guess then that there are no common function/method of doing this.

[gdal-dev] Re: C#: Retrieve boundary of coordinate system

2010-07-07 Thread Tomas R
No one? Ok, I guess then that there are no common function/method of doing this. My approach will the be trial and error. From WGS 84 transform to the local coordinate system and back again to WGS84 and check if the result seems valid. Should work or any expert here have another solution?