Hi, > Le 23/04/2013 08:52, Alexis "Agemen" a écrit : >> Le 22/04/2013 18:20, Rahkonen Jukka a écrit : >>> I am not sure what you mean but please test if you can still use this >>> WMS URL after your change >>> http://188.64.1.61/cgi-bin/mapserv?map=/usr/map/osm-mapserver_i.map >>> >>> -Jukka Rahkonen- >> No, nice one ! I didn't think that there could already be parameters >> in the GET request. I've got some fix to do, so. Thanks. >> >> Alexis. > Fixed in our side :-) I've been forced to change the way we register WMS > layers in order to be able such additional parameters, but it seems to > be working. I've some questions/remarks, though... > > The first one is about the getCapabilities response that comes from the > server you linked here. For the layer line_free_query, for instance, I > see the following XML element : > > <BoundingBox CRS="EPSG:4326" minx="-8.2419e+12" miny="-178.219" > maxx="8.2419e+12" maxy="170.728"/> > > The BoundingBox looks strange : it seems to me that it is out of range, > according to the CRS bounds. Is this line acceptable ? Do I miss something ? > > The second one is about the code that manages the BoundingBox instances. > All of them are stored in an ArrayList, and that leads to duplicate > entries. The code seems to work this way : > > Get the EX_GeographicBoundingBox. Add the "Geographic" BoundingBox > instance and an associated BoundingBox with CRS EPSG:4326. > Get the other BoundingBox and add them too. > > I have duplicates every time there is an explicitly declared BoundingBox > with CRS EPSG:4326. I think in such cases the second one should be > preferred. Indeed, the norm does not force the implementation to give > the same values for EX_GeographicBoundingBox and a BoundingBox with > EPSG:4326. I understand that they should be equal... but it's not > compulsory. You are right. Maybe ArrayList is not the good structure. Seems that a Map<String,BoundingBox> would be more appropriate. Moreover, it can make other parts of the code lighter (when the client need the BoundingBox in a particular CRS) Other solutions are adding tests to avoid duplicates or keeping EX_GeographicBoundingBox out of the list.
Michaël > > Thanks again for you inputs, > > Alexis. > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel