Simon Greener
Datasource.
<jdbc:datasource id="ds.postgresql">
<jdbc:driver>org.postgresql.Driver</jdbc:driver>
<jdbc:url><![CDATA[jdbc:postgresql://localhost:5432/gisdb]]></jdbc:url>
<jdbc:username>postgres</jdbc:username>
<jdbc:password>p05tgr35</jdbc:password>
</jdbc:datasource>
Spatial Engine.
<spatial:spatialEngine id="se.postgresql">
<dbtype>postgis</dbtype>
<host>localhost</host>
<port>5432</port>
<database>postgres</database>
<schema>public</schema>
<user>postgres</user>
<passwd>p05tgr35</passwd>
<dynamic>true</dynamic>
<cache>false</cache>
<primarykeymetadata>
<table schema="public" name="graffiti" column="id" policy="autogenerated"/>
</primarykeymetadata>
<geometrymetadata>
<table schema="public" name="graffiti" type="point" srid="4326" dimension="2"/>
</geometrymetadata>
</spatial:spatialEngine>
Entity and Mapper.
<entity:entity id="graffiti" label="Graffiti" />
<mapper:mapper id="m.graffiti">
<spatialengine>se.postgresql</spatialengine>
<mapping entity="graffiti">
<table>graffiti</table>
<key>id</key>
</mapping>
</mapper:mapper>
MapEngines.
Table Of Contents.
Styled Layer Descriptors.
Graffiti Points SLD.
Graffiti Areas SLD.
Client.
{"serverDuration": 35, "requestCorrelationId": "94eb4882c350453bac1ce94601653fd4"}