java -jar ../kw-crawler/target/kw-crawler-1.0-SNAPSHOT.jar download --max 160000 WL1A/00XXXXXX/XFirst index the data for a given district:
java -jar ../kw-crawler/target/kw-crawler-1.0-SNAPSHOT.jar index WL1A Then you can search the index:
java -jar ../kw-crawler/target/kw-crawler-1.0-SNAPSHOT.jar search 'text'or
java -jar ../kw-crawler/target/kw-crawler-1.0-SNAPSHOT.jar search '+lokalizacja:Miedźno +właściciel:Jan'-
Start Docker compose with PostGis and GeoServer:
docker-compose up -d
-
Create a table in PostGis:
pgcli -h localhost -p 15432 -U postgres -d postgres
CREATE TABLE my_geometries (id text, description text, geom GEOMETRY(Geometry, 2180));
-
Map the data:
java -jar ../kw-crawler/target/kw-crawler-1.0-SNAPSHOT.jar map WL1A
-
Add layer into GeoServer:
- Go to http://localhost:8080/geoserver/
- Log in with admin:geoserver
- Add new workspace: local
- Add new store: PostGIS:
- Workspace: local
- Data Source Name: kw
- Host: postgis
- User: postgres
- Password: postgres
- Schema: public
- Table: my_geometries
- Add new layer: my_geometries
-
Define the following style from the file
geoserver-style.xmland make it a default for a layer -
Open index.html in browser