Changes for page Cartography
on 2015/06/02 12:08
on 2015/06/02 12:09
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,2 +1,28 @@ 1 -= Cartography= 1 += Cartography = 2 2 3 +To add the cartography functionality, edit the file dysoweb.properties located in the folder tomcat/webapps/dysoweb/WEB-INF/classes: 4 + 5 +* add ",\" at the end of the last row. 6 +* then add the row "com.almworks.sqlite4java" atthe end of the file. 7 + 8 +Edit the file requeadb.xml located in dysoweb.home/config by adding the row : 9 +<DbSpatial>true</DbSpatial> 10 + 11 +In the Requea interface, go to the menu System Parameters in the item l’onglet Administrator and modify these two parameters: 12 + 13 +* com.requea.osm.tiles.path : inform the path to the .mbtiles file 14 +* com.requea.dynapage.geospatial.geomap : put the value OSM 15 + 16 += Use Cartography = 17 + 18 +To view the map from the .mbtiles file, create an entity derived from GeoMapView: 19 +[[image:Capturedecran2015-06-01a17.54.55.png]] 20 + 21 +Modify the script of the field Display rules or behavior in the properties sysView and sysZoom so that it point to your preferred location: 22 + 23 +[[image:Capturedecran2015-06-01a17.55.14.png]] 24 + 25 +[[image:Capturedecran2015-06-01a17.55.38.png]] 26 + 27 +To display items on the map, you have to create an entity with a property type //spacial Geometry// and the format //2D Geodetic property// : 28 +[[image:Capturedecran2015-06-02a09.35.43.png||style="font-family: sans-serif; font-size: 14px;"]]