To make the plugin work it is necessary to:
- Include in the pom.xml of demo
- Configure the following data source in the Context.xml of Tomcat (with the actual URL):
<Resource name="jdbc/geoexplorer" auth="Container" type="javax.sql.DataSource"
driverClassName="org.sqlite.JDBC" url="jdbc:sqlite:/.../portal/geoexplorer-reader/geoexplorer.db"
username="" password="" maxActive="20" maxIdle="10"
maxWait="-1" />
- Configure in plugin-conf.json the URL of the "local" GeoServer:
{
"default-conf" : {
"geoexplorer-layers" : {
"local-geoserver-url" : "http://192.168.0.18:8080/geoserver"
}
}
}
- Query the map with ?mapId=1 and see Tasmania.
- The database can be set up for geoexplorer and the mapa shown at: http://192.168.0.18:8080/geoexplorer/composer/?mapId=1#maps/1
@geoladris/geoexplorer-reader
7.1.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @geoladris/geoexplorer-reader
Weekly Downloads
0
Version
7.1.1
License
MIT
Unpacked Size
2.54 kB
Total Files
5