Switching this thread to geoserver-users, as it's not a gt question.
And because someone else is likely going to have to help out, as I won't
be online much longer.
But did you change the SRS in the admin console, like in the featureType
page? Or did you just change it in the request string? Because if you
just do the latter than you also need to adjust the bbox. If you do the
former it should work, but there may be something in the pipeline that's
not quite right.
Chris
On Tue, August 21, 2007 12:26 pm, Brad Cooper wrote:
I've played a little more (downloaded 1.5.3 nightly
build). I don't get the error any longer but I don't see an image. I tried
the demo examples from the GeoServer admin console (changing the SRS
parameter).http://localhost:8080/geoserver/wms?bbox=588215.0934998066,4912904.566716
96,610781.6060742784,4929115.20400145&styles=&Format=application/openlaye
rs&request=GetMap&layers=sf:streams&width=800&height=539&srs=EPSG:900913But it still doesn't return anything.
--- Chris Holmes <cholmes@anonymised.com> wrote:
1.5.3 should return something, and it should
recognize 900913. It may get the error he got if 900913 isn't defined in
the data directory, like if he's using an older data directory.On Tue, August 21, 2007 12:10 pm, Randy George
wrote:Brad's message didn't cop to this list. I assume
this is the bug you
mentioned being fixed in the svn.
-----Original Message-----
From: Brad Cooper [mailto:coobr01@anonymised.com]
Sent: Tuesday, August 21, 2007 9:26 AM
To: Randy George
Subject: RE: [Geotools-gt2-users] Virtual EarthTransformation Question
Correct, I used the %4.png
Unfortunately I get this error message from my
new
1.5.3 Geoserver install.
<ServiceException code="InvalidSRS">No authority
was
defined for code "900913". Did you
forget
"AUTHORITY:NUMBER"?</ServiceException>
--- Randy George <rkgeorge@anonymised.com> wrote:When I directly put SRS=EPSG:900913 in a URL to a
valid WMS request, it alway's comes back with ablank png image. I'll look
at it again later.
Hi Coop,
Hmm... I would have thought the opposite - zoom
in
bad fit, zoom out good fit. I will be curious to
know if EPSG:900913
solves the issue.
I see that now the veapi.js doesn't have to be
modified (the blog was from 2006). Did you workout how to fool the
tileSourceSpec to point to a Java servlet?
tileSourceSpec.TileSource =
http://someserver:someport/somewebapp/tiles/%4.png";
Randy
-----Original Message-----
From: Brad Cooper [mailto:coobr01@anonymised.com]
Sent: Tuesday, August 21, 2007 8:38 AM
To: Randy George;
Geotools-gt2-users@lists.sourceforge.net
Subject: Re: [Geotools-gt2-users] Virtual Earth
Transformation QuestionThanks for the reply Randy,
That's exactly what I'm experiencing "does notwork
well at high zoom values". I've attached two
screenshots from a local VE
.html page. The tiles
are getting dynamically generated from a localGeoServer instance and
streamed back to the client using a servlet. As
you can see from the
screenshot, the overlay is perfect (we'll looks
perfect to the eye) when
zoomed in, but is off when zoomed out (gets worse
the more I zoom out).
Thanks for the tips, I'll try them out and let
you
know.
--- Randy George <rkgeorge@anonymised.com> wrote:
Hi Coop,
I'm interested in this as well and am planning
to
get to it sometime. Rob Blackwell's blog
mentioned that he used
EPSG:4326
"Virtual Earth uses a WGS84 Mercator projection,
but
WMS servers need you to
specify the projection. In this case we'vespecified
a Coordinate Reference System (CRS) of EPSG:4326
which is a common
geographic projection that is equivalent to
WGS84." I suspect this does
not work well at high zoom values. I gather as
well that the veapi.js
needs to be modified.
Chris Holmes mentions this in his GeoServer
1.5.3
announcement:
http://blog.geoserver.org/2007/08/14/geoserver-embraces-the-geoweb/
"With a bit of coding from Andrea we're also now
shipping with support for the map projectionused by Virtual Earth and
Maps, thanks to SharpGIS
and Chris Schmidt. So now if you use 900913 asthe
EPSG code for your WMS
requests our output will be perfectly overlaidon those maps."
900913 is a custom EPSG created specific to
and VE. You can download the latest version of
GeoServer1.5.3 and look
at
the
configuration\release\user_projections\epsg.properties
900913=PROJCS["WGS84 / Simple Mercator",
GEOGCS["WGS
84", DATUM["WGS_1984",
SPHEROID["WGS_1984", 6378137.0, 298.257223563]],
PRIMEM["Greenwich", 0.0],
UNIT["degree", 0.017453292519943295],
AXIS["Longitude", EAST],
AXIS["Latitude", NORTH]],
PROJECTION["Mercator_1SP_Google"],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["central_meridian", 0.0],
PARAMETER["scale_factor", 1.0],
PARAMETER["false_easting", 0.0],
PARAMETER["false_northing", 0.0], UNIT["m",1.0],
AXIS["x", EAST], AXIS["y",
NORTH], AUTHORITY["EPSG","900913"]]You can use the GeoTools projection code by
adding
this to the EPSG database. Or you could more
simply add your own
Java
projection code using the parameters above.
http://mathworld.wolfram.com/MercatorProjection.html
Let us know if you succeed in getting the VE WMS
overlay workingThanks
Randy-----Original Message-----
From:
geotools-gt2-users-bounces@lists.sourceforge.net=== message truncated ===
_________________________________________________________________________
___________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC-------------------------------------------------------------------------
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/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users!DSPAM:4005,46cb125e145421439371379!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org