Skip to content

Commit

Permalink
continue
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 27, 2024
1 parent 3f102aa commit 8c6bd4a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions docker-compose-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@ services:
environment:
- PGOPTIONS
- MAPSERVER_CONFIG_FILE=/etc/mapserver/mapserver.conf
<<<<<<< HEAD
- MAPSERVER_BASE_PATH=/mapserv_proxy
||||||| parent of 496a3a75 (continue)
- MAPSERVER_BASE_PATH=/mapserv_proxy/mapserver
=======
- MAPSERVER_BASE_PATH=/mapserv_proxy/
>>>>>>> 496a3a75 (continue)
- OGCAPI_HTML_TEMPLATE_DIRECTORY=/usr/local/share/mapserver/ogcapi/templates/html-bootstrap4/
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
Expand Down
2 changes: 1 addition & 1 deletion env.default
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ TILECLOUDCHAIN_INTERNAL_URL=http://tilecloudchain:8080
TILECLOUDCHAIN_INTERNAL_HOST=tilecloudchain
TILECLOUDCHAIN_INTERNAL_PORT=8080
# For internal print
MAPSERVER_URL=http://mapserver:8080/
MAPSERVER_URL=http://mapserver:8080/mapserv_proxy
TINYOWS_URL=http://tinyows:8080/
QGISSERVER_URL=http://qgisserver:8080/mapserv_proxy
QGIS_VERSION=3.34-gdal3.8
Expand Down
8 changes: 4 additions & 4 deletions ui/src/interfaces/ControllerDesktop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,20 @@ class Controller extends AbstractDesktopController {
// console.log(features);
// });

// MapServer route: /mapserv_proxy/mapserver/<ogc-server>/ogcapi/*
// MapServer route: /mapserv_proxy/<ogc-server>/ogcapi/*
fetch(
'https://localhost:8484/mapserv_proxy/mapserver/<ogc-server>/ogcapi/collections/<layer>/items?bbox=6.0,46.0,7.0,47.0&limit=100&offset=0',
'https://localhost:8484/mapserv_proxy/<ogc-server>/ogcapi/collections/<layer>/items?bbox=6.0,46.0,7.0,47.0&limit=100&offset=0',
);
fetch(
'http://localhost:8090/mapserv_proxy/mapserver/MainPNG/ogcapi/collections/osm_open/items?bbox=6.0,46.0,7.0,47.0&limit=100&offset=0&ogcserver=MainPNG',
'http://localhost:8090/mapserv_proxy/MainPNG/ogcapi/collections/osm_open/items?bbox=6.0,46.0,7.0,47.0&limit=100&offset=0&ogcserver=MainPNG',
);

// QGISServer route: /mapserv_proxy/<ogc-server>/wfs3/*
fetch(
'https://localhost:8484/mapserv_proxy/<ogc-server>/wfs3/collections/<layer-name/items?bbox=6.0,46.0,7.0,47.0&limit=100&offset=0',
);
fetch(
'http://localhost:8091/mapserv_proxy/wfs3/collections/points/items?bbox=6.0,46.0,7.0,47.0&limit=100&offset=0&map=/etc/qgisserver/project.qgs',
'http://localhost:8091/mapserv_proxy/wfs3/collections/points/items?bbox=6.0,46.0,7.0,47.0&limit=100&map=/etc/qgisserver/project.qgs',
);

//fetch(
Expand Down

0 comments on commit 8c6bd4a

Please sign in to comment.