Thanks for the reply Lance.

So the coordinates that i have in  my GML file are useless without the
additional projection info?

I found this page and it seems to have more information on the EPSG:
25831 projection but it's beyond anything that i currently understand:
http://spatialreference.org/ref/epsg/25831/

That page states (i think) that the EPSG:25831 projection contains
points within the WGS84 bounds (0.0000, 38.5000), (6.0000, 62.3300).

And that EPSG:25831 coordinates are all within the range (238379.2278,
4265559.3497), (761620.7722, 6914547.3835).

Is the WGS84 bounds what you call the 'LatLonBox' from which the EPSG:
25831 coordinates can be transformed into the lat/lng format that i
require?
If so then is it possible that i can find the parts of GeoXml and
write the transformation code myself?
Or does GeoXml already contain some transformation code which i could
modify to perform the DSG:25831 transformation?

Bear in mind i don't quite understand the non lat/lng coordinate
format.
Do i start with the WGS:84 bounding box and then treat the DSG:25831
coordinates as being relative within that bounding box.
(A bit like GPoint() pixel coordinates can be converted to GLatLng()
coordinates in the Google Maps API?)

Thanks.

Martin.



On 4 Oct, 08:45, Lance Dyas <[email protected]> wrote:
> Martin wrote:
> > Hi.
>
> > I'm trying to import a GML file into a basic Google Map using GeoXml
> > fromhttp://code.google.com/p/geoxml/
>
> > Both geoxml.js and geoxml19Sep2009.js fail with this error:
>
> > missing catch or finally after try
> >http://googlemapsapi.martinpearman.co.uk/user_maps/bellamallorca.dk/k...
> > Line 1
>
> Your pages dont throw any such error for me... but they do on your
> actual htm page that you post later
> throw the alert saying it is attempting a coordinate transform
>
> Your coordinates are not in a geographic projection, you probably need
> to import them in to a GIS package and then Export them out.
>
> I tested with this page.by the way before seeing your later post showing
> your html page 
> link.http://www.microimages.com/ogc/newtntmap/gmap.htm?kml=http://googlema...
>
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG -www.avg.com
> Version: 8.5.409 / Virus Database: 270.14.3/2412 - Release Date: 10/03/09 
> 18:34:00
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to