Cartography

To add the cartography functionality, edit the file dysoweb.properties located in the folder tomcat/webapps/dysoweb/WEB-INF/classes:

  • add ",\" at the end of the last row.
  • then add the row "com.almworks.sqlite4java" atthe end of the file.

Edit the file requeadb.xml located in dysoweb.home/config by adding the row :
<DbSpatial>true</DbSpatial>

In the Requea interface, go to the menu System Parameters in the item l’onglet Administrator and modify these two parameters:

  • com.requea.osm.tiles.path : inform the path to  the .mbtiles file
  • com.requea.dynapage.geospatial.geomap : put the value OSM

Use Cartography

To view the map from the .mbtiles file, create an entity derived from  GeoMapView:
Capturedecran2015-06-01a17.54.55.png

Modify the script of the field Display rules or behavior in the properties sysView and sysZoom so that it point to your preferred location:

Capturedecran2015-06-01a17.55.14.png

Capturedecran2015-06-01a17.55.38.png

To display items on the map, you have to create an entity with a property type spacial Geometry and the format 2D Geodetic property :
Capturedecran2015-06-02a09.35.43.png

Tags:
Created by Pierre Dubois on 2015/06/02 11:21
     
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation