English 中文(简体)
Geoserver with Mapstraction
原标题:

Do someone know how to use a custom hosted Geoserver s Tile Layers or WMS layers to be laid on Mapstraction as a base layer?

MapStraction has base layer plugins for google, yahoo, microsoft, openlayers etc., But unfortunately it lacks a plugin for custom open layers on geoserver. Do any one know how to neatly implement such a plugin?

最佳回答

Managed to find how to do the above.

  1. Made a Copy of mxn openlayers.
  2. Changed the TMS url to WMS where the geoserver is hosted. There would be 2 urls of OSM and OSM Mapnik, kept only one of them and replaced with the WMS Url.
  3. There was only one problem in calling toProperietory and fromProperietory calls. Did not honestly understand the logic, but replaced them with just returning same values

And it worked.

PS: If someone understands the logic behind step 3, please feel free to explain.

问题回答

暂无回答




相关问题
Dynamic MapServer on OpenLayers

I m struggling with a peculiar set up: we have a WMS layer in OpenLayers (within a GeoExt web interface) invoking a MapServer string (e.g. http://mydomain/cgi-bin/mapserv.exe?map=someMapFile.map&...

Geoserver and WMS

I need some help. I am new to the concept of Geoserver and WMS and I am looking for very basic help. I have downloaded and installed Geoserver, set up layers etc (including sld), however, I have no ...

Some advices for creating a WMS service and a desktop client?

I m learning to create a WMS service using MapServer and after that I want to develop a PyQt desktop application which will access it. I don t know what is the best way to do that because I have seen ...

Alternatives to GeoWebCache?

Does anyone know alternatives to GeoWebCache (GWC)? There s TileCache, but it seems to be "dead" in terms of no more development taking place. In addition to that i can t figure out how to cache a ...

get xml attribute named xlink:href using xsl

How can I get the value of an attribute called xlink:href of an xml node in xsl template? I have this xml node: <DCPType> <HTTP> <Get> <OnlineResource test="hello" xlink:...

热门标签