Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need show a map as image(gif) in my windows mobile. Only i will get center latlon value , zoom level and width-height mobile screen. Please help me to solve this.

Thanks & Regards Shafeek

share|improve this question
in what language? with which toolkit? show us the code you've tried so far please – iant Jul 2 '13 at 11:06
this is the sample request to get map in image localhost:8080/geoserver/… but i need like this localhost:8080/geoserver/… – Mohammed shafeek Jul 2 '13 at 11:35
seems like you are out of luck then – iant Jul 2 '13 at 12:07
Did you find your solution? – sectus Jul 15 '14 at 2:58
No,I did not got a solution... – Mohammed shafeek Jul 17 '14 at 6:32

You need to set up GeoServer to serve out a WMS (Web Map Service) and your client to consume the WMS (which can be as simple as requesting the image via URL).

share|improve this answer
ya,But, I have only lat,lon value instead of bounding box. So, i need a request like this service=WMS& version=1.3.0& request=GetMap& layers=usa:states& srs=EPSG:4326& lat=24.956&lon=49.372&zoomlevel=5& format=image/png& width=780& height=330 – Mohammed shafeek Jul 2 '13 at 11:39
I see. Then use your mapping API to calculate the width & height (in lonlat coords) of your screen. In OpenLayers you'd use map.getExtent() and then map.getpixelfromlonlat() – mtn.biker Jul 2 '13 at 11:48
There is one more problem, I can't use OpenLayers ... :) only , i can use geoserver. – Mohammed shafeek Jul 2 '13 at 12:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.