[Geoserver-users] changes in wms-gs.js???

Hallo,
I made a application to view some WMS layer in Google Maps Api. For the
overlaying I used the javascript from
https://svn.codehaus.org/geoserver/trunk/geoserver/web/src/main/webapp/gmaps/wms-gs.js
Everything worked fine, but since yesterday nothing is displayed in my map
anymore. Geoserver gives me the error: No code "EPSG:100003" from authority
"European Petroleum Survey Group" found for object of type
"CoordinateReferenceSystem".
I haven`t changed anything, so was there a change of the javascript?

--
View this message in context: http://www.nabble.com/changes-in-wms-gs.js----tf4219168.html#a12003215
Sent from the GeoServer - User mailing list archive at Nabble.com.

kutte ha scritto:

Hallo,
I made a application to view some WMS layer in Google Maps Api. For the
overlaying I used the javascript from
https://svn.codehaus.org/geoserver/trunk/geoserver/web/src/main/webapp/gmaps/wms-gs.js
Everything worked fine, but since yesterday nothing is displayed in my map
anymore. Geoserver gives me the error: No code "EPSG:100003" from authority
"European Petroleum Survey Group" found for object of type
"CoordinateReferenceSystem".
I haven`t changed anything, so was there a change of the javascript?

Yes, we changed it on Friday when adding support for a better clone of
the Google projection, that gives much better results than before.
In order to use it thought you need a fresh checkout of the whole
trunk (since the projection is a new class in GeoServer) and also
to declare 100003 in your custom projections files.
You can find a 1000003 declaration in your checkout, here:
https://svn.codehaus.org/geoserver/trunk/configuration/release/user_projections/epsg.properties

Cheers
Andrea

Ok thank you, but the old one worked quite fine and I need to run it very
briefly. Is there still the old one available?
What must I change for the new version? Only the SRS Code to 100003?
Thank you for your help

kutte wrote:

Hallo,
I made a application to view some WMS layer in Google Maps Api. For the
overlaying I used the javascript from
https://svn.codehaus.org/geoserver/trunk/geoserver/web/src/main/webapp/gmaps/wms-gs.js
Everything worked fine, but since yesterday nothing is displayed in my map
anymore. Geoserver gives me the error: No code "EPSG:100003" from
authority "European Petroleum Survey Group" found for object of type
"CoordinateReferenceSystem".
I haven`t changed anything, so was there a change of the javascript?

--
View this message in context: http://www.nabble.com/changes-in-wms-gs.js----tf4219168.html#a12003390
Sent from the GeoServer - User mailing list archive at Nabble.com.

kutte ha scritto:

Ok thank you, but the old one worked quite fine and I need to run it very
briefly. Is there still the old one available?
What must I change for the new version? Only the SRS Code to 100003?

No, as I told you for the new version you need a full GeoServer copy
because there is a new projection at work that does not require switching from 4326 to 41001 (both of which where quite poor approximations of the actual Google projection, which we still haven't
reverse engineered fully btw, if you're doing a 1:10.000 map you
still see mis-alignments even with the new code).
GeoServer 1.5.2 has the new projection built in if you're interested.

Anyways, the old code can be grabbed using:
svn -r 7370 cat geoserver\web\src\main\webapp\gmaps\wms-gs.js

I've attached the output to this mail.
Cheers
Andrea

wms-gs.js (5.18 KB)

Thank you, now it` working. Great!
But I also try the new version with the new geoserver when I`m not so in
hurry.

Greetings,
Kutte

aaime wrote:

kutte ha scritto:

Ok thank you, but the old one worked quite fine and I need to run it very
briefly. Is there still the old one available?
What must I change for the new version? Only the SRS Code to 100003?

No, as I told you for the new version you need a full GeoServer copy
because there is a new projection at work that does not require
switching from 4326 to 41001 (both of which where quite poor
approximations of the actual Google projection, which we still haven't
reverse engineered fully btw, if you're doing a 1:10.000 map you
still see mis-alignments even with the new code).
GeoServer 1.5.2 has the new projection built in if you're interested.

Anyways, the old code can be grabbed using:
svn -r 7370 cat geoserver\web\src\main\webapp\gmaps\wms-gs.js

I've attached the output to this mail.
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/changes-in-wms-gs.js----tf4219168.html#a12003532
Sent from the GeoServer - User mailing list archive at Nabble.com.