-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
geoserver: add "gtfs-db" store & "stops" layer
- Loading branch information
Showing
4 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
etc/geoserver/workspaces/MobiData-BW/gtfs-db/datastore.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<dataStore> | ||
<id>DataStoreInfoImpl--3b38816a:18a8b06ea7a:-7ff5</id> | ||
<name>gtfs-db</name> | ||
<description>imported GTFS data</description> | ||
<type>PostGIS</type> | ||
<enabled>true</enabled> | ||
<workspace> | ||
<id>WorkspaceInfoImpl--48f676ef:18997a59df5:-7ff6</id> | ||
</workspace> | ||
<connectionParameters> | ||
<entry key="schema">api</entry> | ||
<entry key="Evictor run periodicity">300</entry> | ||
<entry key="Max open prepared statements">50</entry> | ||
<entry key="encode functions">true</entry> | ||
<entry key="Batch insert size">1</entry> | ||
<entry key="preparedStatements">false</entry> | ||
<entry key="database">${IPL_GTFS_DB_POSTGRES_DB}</entry> | ||
<entry key="host">gtfs-db</entry> | ||
<entry key="Loose bbox">true</entry> | ||
<entry key="SSL mode">DISABLE</entry> | ||
<entry key="Estimated extends">true</entry> | ||
<entry key="fetch size">1000</entry> | ||
<entry key="Expose primary keys">true</entry> | ||
<entry key="validate connections">true</entry> | ||
<entry key="Support on the fly geometry simplification">true</entry> | ||
<entry key="Connection timeout">20</entry> | ||
<entry key="create database">false</entry> | ||
<entry key="Method used to simplify geometries">FAST</entry> | ||
<entry key="port">5432</entry> | ||
<entry key="passwd">${IPL_GTFS_DB_POSTGRES_PASSWORD}</entry> | ||
<entry key="min connections">1</entry> | ||
<entry key="dbtype">postgis</entry> | ||
<entry key="namespace">mdbw</entry> | ||
<entry key="max connections">10</entry> | ||
<entry key="Evictor tests per run">3</entry> | ||
<entry key="Test while idle">true</entry> | ||
<entry key="user">postgres</entry> | ||
<entry key="Max connection idle time">300</entry> | ||
</connectionParameters> | ||
<__default>false</__default> | ||
<dateCreated>2023-09-12 20:19:22.888 UTC</dateCreated> | ||
<disableOnConnFailure>false</disableOnConnFailure> | ||
</dataStore> |
66 changes: 66 additions & 0 deletions
66
etc/geoserver/workspaces/MobiData-BW/gtfs-db/stops/featuretype.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<featureType> | ||
<id>FeatureTypeInfoImpl--3b38816a:18a8b06ea7a:-7ff4</id> | ||
<name>stops</name> | ||
<nativeName>stops</nativeName> | ||
<namespace> | ||
<id>NamespaceInfoImpl--48f676ef:18997a59df5:-7ff5</id> | ||
</namespace> | ||
<title>stops</title> | ||
<keywords> | ||
<string>features</string> | ||
<string>stops</string> | ||
</keywords> | ||
<nativeCRS>GEOGCS["WGS 84", | ||
DATUM["World Geodetic System 1984", | ||
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]], | ||
AUTHORITY["EPSG","6326"]], | ||
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], | ||
UNIT["degree", 0.017453292519943295], | ||
AXIS["Geodetic longitude", EAST], | ||
AXIS["Geodetic latitude", NORTH], | ||
AUTHORITY["EPSG","4326"]]</nativeCRS> | ||
<srs>EPSG:4326</srs> | ||
<nativeBoundingBox> | ||
<minx>7.5113</minx> | ||
<maxx>10.492</maxx> | ||
<miny>47.533</miny> | ||
<maxy>49.792</maxy> | ||
<crs>EPSG:4326</crs> | ||
</nativeBoundingBox> | ||
<latLonBoundingBox> | ||
<minx>7.5113</minx> | ||
<maxx>10.492</maxx> | ||
<miny>47.533</miny> | ||
<maxy>49.792</maxy> | ||
<crs>EPSG:4326</crs> | ||
</latLonBoundingBox> | ||
<projectionPolicy>NONE</projectionPolicy> | ||
<enabled>true</enabled> | ||
<metadata> | ||
<entry key="elevation"> | ||
<dimensionInfo> | ||
<enabled>false</enabled> | ||
</dimensionInfo> | ||
</entry> | ||
<entry key="time"> | ||
<dimensionInfo> | ||
<enabled>false</enabled> | ||
</dimensionInfo> | ||
</entry> | ||
<entry key="cachingEnabled">false</entry> | ||
</metadata> | ||
<store class="dataStore"> | ||
<id>DataStoreInfoImpl--3b38816a:18a8b06ea7a:-7ff5</id> | ||
</store> | ||
<serviceConfiguration>false</serviceConfiguration> | ||
<simpleConversionEnabled>false</simpleConversionEnabled> | ||
<internationalTitle/> | ||
<internationalAbstract/> | ||
<maxFeatures>0</maxFeatures> | ||
<numDecimals>0</numDecimals> | ||
<padWithZeros>false</padWithZeros> | ||
<forcedDecimal>false</forcedDecimal> | ||
<overridingServiceSRS>false</overridingServiceSRS> | ||
<skipNumberMatched>false</skipNumberMatched> | ||
<circularArcPresent>false</circularArcPresent> | ||
</featureType> |
17 changes: 17 additions & 0 deletions
17
etc/geoserver/workspaces/MobiData-BW/gtfs-db/stops/layer.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<layer> | ||
<name>stops</name> | ||
<id>LayerInfoImpl--3b38816a:18a8b06ea7a:-7ff3</id> | ||
<type>VECTOR</type> | ||
<defaultStyle> | ||
<id>StyleInfoImpl--3b38816a:18a8b06ea7a:-7ff1</id> | ||
</defaultStyle> | ||
<resource class="featureType"> | ||
<id>FeatureTypeInfoImpl--3b38816a:18a8b06ea7a:-7ff4</id> | ||
</resource> | ||
<attribution> | ||
<logoWidth>0</logoWidth> | ||
<logoHeight>0</logoHeight> | ||
</attribution> | ||
<dateCreated>2023-09-12 20:27:19.936 UTC</dateCreated> | ||
<dateModified>2023-09-12 20:39:55.865 UTC</dateModified> | ||
</layer> |