It works now. Thanks again.
David Winslow-5 wrote: > > On Mon, 2009-07-13 at 10:53 -0700, jjmbv wrote: >> Thanks for the quick answers. >> That makes sense. I did what you said but still i have no results. >> I'm trying to run a very simple example just like the one i posted >> earlier. >> >> I built an foo.xlm >> <layout> >> <decoration type="image" affinity="bottom,right" offset="6,6" >> size="124,124"> >> <option name="url" value="testDecoration.png"/> >> </decoration> >> <decoration type="scaleratio" affinity="bottom,right" offset="36,6" >> size="200,130"/> >> <!--<decoration type="legend" affinity="top,left" offset="6,6" >> size="auto"/>--> >> </layout> >> and an image 'testDecoration.png'. >> They are both placed in Geoserver 'data' folder along with catalog.xml >> and >> services.xml. > > The layout definition files belong in their own directory, layouts. So > it will look like this: > > DATA_DIR > + catalog.xml > + services.xml > + layouts/ > + foo.xml > > >> >> Then i tested the GET request and still no result. >> >> Can you see what am I missing here? >> >> Thank you. >> >> >> David Winslow-5 wrote: >> > >> > The layout feature is only supported for image file formats, not the >> > more complex ones such as OpenLayers or Google Earth. Try replacing >> > 'application/openlayers' with 'image/png'. >> > >> > -- >> > David Winslow >> > OpenGeo - http://opengeo.org/ >> > >> > On Mon, 2009-07-13 at 10:17 -0700, jjmbv wrote: >> >> Hi there.. >> >> >> >> I'm new at this so, having set the layout definition (in my case >> foo.xlm) >> >> and running Geoserver 1.7.5 as you said, if i just add this >> >> '&format_options=layout:foo' to my wms GET request url (in my case >> >> >> http://localhost:8080/Geoserver/wms?bbox=-159910.79138881035,-535377.6074146815,716762.6191650174,4633982.90225693&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=cd_gs:test&width=350&height=550&srs=EPSG:27492&format_options=layout:foo) >> >> should i be able to see any results? >> >> >> >> I'm following this >> >> 'http://docs.geoserver.org/1.7.5/user/advanced/wmsdecoration.html' as >> a >> >> guide, but i'm not seeing any evident result. >> >> Perhaps I'm doing something wrong or forgetting some details? >> >> >> >> Thanks once more. >> >> >> >> >> >> >> >> David Winslow-5 wrote: >> >> > >> >> > On Mon, 2009-07-13 at 07:57 -0700, jjmbv wrote: >> >> >> Hi there, >> >> >> >> >> >> I've just checked out Geoserver source code from SVN >> >> >> (https://svn.codehaus.org/geoserver/tags/1.7.4/) and i failed to >> find >> >> the >> >> >> wmslayout module in the community folder. >> >> >> I looked into other releases, and that module isn't there either. >> >> >> >> >> >> Is it still there? Am I looking in the wrong place? >> >> >> >> >> >> Thanks in advance. >> >> > >> >> > The WMS Layout feature is no longer an extension. You don't have to >> do >> >> > anything except for define a layout definition for it to work on >> 1.7.5 >> >> > and 2.0beta1. >> >> > >> >> > Hope this helps. >> >> > >> >> > -- >> >> > David Winslow >> >> > OpenGeo - http://opengeo.org/ >> >> > >> >> > >> >> > >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> > Enter the BlackBerry Developer Challenge >> >> > This is your chance to win up to $100,000 in prizes! For a limited >> >> time, >> >> > vendors submitting new applications to BlackBerry App World(TM) will >> >> have >> >> > the opportunity to enter the BlackBerry Developer Challenge. See >> full >> >> > prize >> >> > details at: http://p.sf.net/sfu/Challenge >> >> > _______________________________________________ >> >> > Geoserver-devel mailing list >> >> > [email protected] >> >> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel >> >> > >> >> > >> >> >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Enter the BlackBerry Developer Challenge >> > This is your chance to win up to $100,000 in prizes! For a limited >> time, >> > vendors submitting new applications to BlackBerry App World(TM) will >> have >> > the opportunity to enter the BlackBerry Developer Challenge. See full >> > prize >> > details at: http://p.sf.net/sfu/Challenge >> > _______________________________________________ >> > Geoserver-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/wmslayout-community-module-tp24463346p24466340.html >> Sent from the GeoServer - Dev mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full >> prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Geoserver-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full > prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Geoserver-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > > -- View this message in context: http://www.nabble.com/wmslayout-community-module-tp24463346p24475777.html Sent from the GeoServer - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
