Dear Khun, questions regarding OpenGeo Suite should be directed towards the proper support resources, this list is for standard GeoServer users.
Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/NWWaa2 for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- On Sat, Jun 28, 2014 at 10:55 AM, KhunSanAung <[email protected]> wrote: > Hi List, > > I'd like to query a layer in GeoServer and get a JPEG/PNG map in a fixed > scale. > I'm using OpenGeo Suite 4.0.2 running on Ubuntu precise. > > To give an example with the usa:states layer that came with the Suite, > The following preview gives the states layer in OpenLayer format. > > http://localhost:8080/geoserver/usa/wms?service=WMS&version=1.1.0&request=GetMap&layers=usa:states.44&styles=&bbox=-179.23023299999997,17.831509000000036,-65.16882499999997,71.437769&width=702&height=330&srs=EPSG:4326&format=application/openlayers > > In the above map request, it need to enter the bounding box of the layer and > the width and height of the map but not the scale. > > What I'd like to have is, > when I select the New Jersey state, the map should show only the selected > layer, full New Jersy State in 1:1M scale. > when user select another state, New York, the map should show only the > selected state, fulll New York state in 1:1M scale. in new width and height. > > The BBox will keep changing according to the selected feature. > > What I'd like to have it keep the map scale constant and change the BBox, > width and height. > > Could you please suggest/guide how can I do it? > > I'd like to use it on a web interface to show the state map and the state > information (coming from another database) together. > > Thank you very much for any help in advance. > > -- > Have a nice day! > -- > > Mr. Khun San Aung > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
