Skip to content

Commit

Permalink
update backgrounds in sample config to use IGN services (#678)
Browse files Browse the repository at this point in the history
* use IGN services for basemaps, allows to have ortho/plan

add empty basemap just in case.

point at thumbs on ids.craig.fr

* following 960abae, add a example of a working setup

* fix duplicate thumbnail url

* use geopf urls (see georchestra/datadir#367)
  • Loading branch information
landryb authored Dec 7, 2023
1 parent fe8b152 commit 8d75eb2
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions cadastrapp/src/main/resources/cadastrapp.properties
Original file line number Diff line number Diff line change
Expand Up @@ -68,30 +68,35 @@ pdf.baseMap.image.folder=images
# pdf.baseMap.0.title.thumbnail=osm.png

# here we set an URL to use a remote png/jpeg file from another web site
pdf.baseMap.0.title.thumbnail=http://kartenn.region-bretagne.fr/patrimoine/img/basemap/osm_google.png
pdf.baseMap.0.title.thumbnail=https://ids.craig.fr/mapstore/ortho.png

# BaseMap Title to be display in user interface
pdf.baseMap.0.title=OSM Google Style - geobretagne
pdf.baseMap.0.wms.url=http://osm.geobretagne.fr/service/wms?VERSION=1.1.1&Request=GetCapabilities&Service=WMS
pdf.baseMap.0.layer.name=osm:google
pdf.baseMap.0.format=image/png
pdf.baseMap.0.title=Orthophotographie IGN
pdf.baseMap.0.wms.url=https://data.geopf.fr/wms-r/wms
pdf.baseMap.0.layer.name=HR.ORTHOIMAGERY.ORTHOPHOTOS
pdf.baseMap.0.format=image/jpeg
pdf.baseMap.0.SRS=EPSG:3857
# only used when wms service need authentification
# if empty no authentification is used
pdf.baseMap.0.wms.username=
pdf.baseMap.0.wms.password=

# BaseMap Title to be display in user interface
#pdf.baseMap.1.title=OSM Map Style - geobretagne
#pdf.basemap.1.title.thumbnail:http://kartenn.region-bretagne.fr/patrimoine/img/basemap/osm.png
#pdf.baseMap.1.wms.url=http://osm.geobretagne.fr/service/wms?VERSION=1.1.1&Request=GetCapabilities&Service=WMS
#pdf.baseMap.1.layer.name=osm:map
#pdf.baseMap.1.format=image/png
#pdf.baseMap.1.SRS=EPSG:3857
pdf.baseMap.1.title=Plan IGN
pdf.baseMap.1.title.thumbnail=https://ids.craig.fr/mapstore/planign.png
pdf.baseMap.1.wms.url=https://data.geopf.fr/wms-r/wms
pdf.baseMap.1.layer.name=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2
pdf.baseMap.1.format=image/png
pdf.baseMap.1.SRS=EPSG:3857
## only used when wms service need authentification
## if empty no authentification is used
#pdf.baseMap.1.wms.username=
#pdf.baseMap.1.wms.password=

# empty/no basemap
pdf.baseMap.2.title=Pas de fond
pdf.baseMap.2.title.thumbnail=https://ids.craig.fr/mapstore/white.png
pdf.baseMap.2.wms.url=
###########################################################

## information about WMS and WFS service
Expand All @@ -111,8 +116,8 @@ cadastre.wms.password=
# Note that it must support SLD_BODY WMS param
# if using geoserver > 2.16 make sure to use a workspace-specific endpoint and
# don't put the workspace prefix in the layer name
parcelle.wms.url=
parcelle.wms.layer.name=
parcelle.wms.url=https://georchestra.example.org/geoserver/qgis/wms
parcelle.wms.layer.name=geo_parcelle
# The plot identifier field for the service
parcelle.wms.layer.id=
# only used when wms service need authentification
Expand Down

0 comments on commit 8d75eb2

Please sign in to comment.