task #4150
opencompile edit map service documentation of new features in version v1.4_dev and v1.5_dev
0%
Description
compile documentation of new features in version v1.4_dev and v1.5_dev
the below excepts from a discussion related to #2707 ([E+M][Geo] Find shapefiles for non-tdwg E+M areas) is actually the most up-to-date documentation of v1.4_dev and v1.5_dev with the projection change
Some news from the EDIT webservices…
1)¶
I’ve improved our Jenkins/ PHPUnit tests for the EDIT web service (the PHPUniy can now directly test the output of an HTTP GET request, while it was not the case before) and also worked today on the REST services.
2)¶
I managed (on a test version called v1.4_dev) to debug the problem I had 2 weeks ago when the possibility to choose 2 different indexer columns was enabled.
It is now possible to have different indexer columns (eg below: “emarea” for Germany and “parent” for France)
This script doesn’t break the other maps like it was the case before
Actually debugging the problem n°2 involved a substantial modification in the part of the script that generates the SLD…
The PHP script actually generates a first XML DOM document with the style information and, uses an intermediate XSLT field to finally write the final SLD and store it in the file system. I had to use some more intermediate DOMDocument in the PHP script (to add child XML node containing the name of the indexer columns in the first XML DOM), and also added an extra template in the XSLT file to have it running.
3)¶
Regarding the possibility to handle several projections, it is now possible in this test version to specify a reprojection, but only for the JSON output, by using the parameter “dest_projection_epsg”
The JSON reply contains an element “bbox_dest_projection” that gives the coordinates of the bbox in the destination projection and another elements “points_dest_projection” with the position of the occurrence data (if PostGIS can handle it, I couldn’t get a reply with ESPG:777777 for Africa).
But the reprojection is currently not implemented for the PNG output (I guess the JSON output covers most of the CDM portal needs as it rebuild the map in OpenLayers…).
I need to merge these development into the current v1.2_dev version.
Best regards,
Franck
please continue ...
Updated by Andreas Müller almost 3 years ago
- Description updated (diff)
- Target version set to Geo RESTServices - Next Major Release
Updated by Andreas Kohlbecker almost 3 years ago
- Tags set to map
- Description updated (diff)
- Private changed from Yes to No