Microsoft's Virtual Earth allows to specify a url for a custom tile source.
It then makes the request using the Virtual Earth tilename. You can reverse
engineer the tile name to calculate the bbox parameters. I started using
this article... http://www.viavirtualearth.com/vve/Articles/WMS.ashx
http://www.viavirtualearth.com/vve/Articles/WMS.ashx I then ported it to
java to be servlet and class to take the virtual earth tile and make the
correct wms request to GeoServer. Here is my code (btw I am a java newbie so
I need some help here) it is a seperate web app that acts as a proxy to
Geoserver. I wanted to integrate it into the Geoserver application but my
inexperience (esp with maven) limited me.
http://www.nabble.com/file/p10919945/index.jsp index.jsp
http://www.nabble.com/file/p10919945/vetiletowms.java vetiletowms.java
http://www.nabble.com/file/p10919945/vetilebox.java vetilebox.java
it currently works but I know someone here can make it really work better.
Is anyone interested I probably wouldn't be much help but I would really
like to learn by seeing how it is done.
Thanks
CMH
FYI I have posted a similar message with tilecache boards.
I know that there is a summer of code project to recreate tilecache in java
so this would be really cool to integrate this into it.
--
View this message in context: http://www.nabble.com/Help-me-extend-GeoServer-to-work-with-Microsofts-Virtual-Earth-tf3854313.html#a10919945
Sent from the GeoServer - Dev mailing list archive at Nabble.com.
oops.. in the servlet vetiletowms.java I was using regular expressions to
grab the tile name from the request url but then I changed the javascript in
the index.jsp to put the tilename into a tile= parameter. So if anyone is
looking at it, the regular expression part doesn't do anything but isn't
commented out.
Sorry about that
Cole Harper wrote:
Microsoft's Virtual Earth allows to specify a url for a custom tile
source. It then makes the request using the Virtual Earth tilename. You
can reverse engineer the tile name to calculate the bbox parameters. I
started using this article...
http://www.viavirtualearth.com/vve/Articles/WMS.ashx
http://www.viavirtualearth.com/vve/Articles/WMS.ashx I then ported it to
java to be servlet and class to take the virtual earth tile and make the
correct wms request to GeoServer. Here is my code (btw I am a java newbie
so I need some help here) it is a seperate web app that acts as a proxy to
Geoserver. I wanted to integrate it into the Geoserver application but my
inexperience (esp with maven) limited me.
http://www.nabble.com/file/p10919945/index.jsp index.jsp
http://www.nabble.com/file/p10919945/vetiletowms.java vetiletowms.java
http://www.nabble.com/file/p10919945/vetilebox.java vetilebox.java
it currently works but I know someone here can make it really work better.
Is anyone interested I probably wouldn't be much help but I would really
like to learn by seeing how it is done.
Thanks
CMH
FYI I have posted a similar message with tilecache boards.
I know that there is a summer of code project to recreate tilecache in
java so this would be really cool to integrate this into it.
--
View this message in context: http://www.nabble.com/Help-me-extend-GeoServer-to-work-with-Microsofts-Virtual-Earth-tf3854313.html#a10919994
Sent from the GeoServer - Dev mailing list archive at Nabble.com.
Hi Cole,
Very cool!! The contribution is much appreciated. Even if the code does
need some work or fine tuning to integrate into GeoServer I am sure it
will serve as a great base. I have created a task in the bug tracker to
track this and attached all the code to it.
http://jira.codehaus.org/browse/GEOS-1121
Thanks again.
-Justin
Cole Harper wrote:
Microsoft's Virtual Earth allows to specify a url for a custom tile source.
It then makes the request using the Virtual Earth tilename. You can reverse
engineer the tile name to calculate the bbox parameters. I started using
this article... http://www.viavirtualearth.com/vve/Articles/WMS.ashx
http://www.viavirtualearth.com/vve/Articles/WMS.ashx I then ported it to
java to be servlet and class to take the virtual earth tile and make the
correct wms request to GeoServer. Here is my code (btw I am a java newbie so
I need some help here) it is a seperate web app that acts as a proxy to
Geoserver. I wanted to integrate it into the Geoserver application but my
inexperience (esp with maven) limited me.
http://www.nabble.com/file/p10919945/index.jsp index.jsp
http://www.nabble.com/file/p10919945/vetiletowms.java vetiletowms.java
http://www.nabble.com/file/p10919945/vetilebox.java vetilebox.java
it currently works but I know someone here can make it really work better.
Is anyone interested I probably wouldn't be much help but I would really
like to learn by seeing how it is done.
Thanks
CMH
FYI I have posted a similar message with tilecache boards.
I know that there is a summer of code project to recreate tilecache in java
so this would be really cool to integrate this into it.
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com