The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

[done] Trouble adding this custom map source

Any question about the app? Ask it here
Post Reply
Aliamba
Posts: 4
Joined: Sun May 16, 2021 8:46 pm

[done] Trouble adding this custom map source

Post by Aliamba »

Hi. I found some usefull map overlay here: https://vgo.portailcartographique.gouv.qc.ca

I am trying to add this one but i get this error: [SSLHandshakeException]

This is how it looks:

Code: Select all

<source id="QC_COURONNE">
	<name>Terres Couronne</name>
	<preview-location>-3.86,50.53,14</preview-location>
	<zoom-levels z="3,5,7,8,9,10,11,12,13,14,15,16,17">
		<projection-code>EPSG:3857</projection-code>
		<bbox-crs-code>EPSG:3857</bbox-crs-code>
		<server><![CDATA[https://servicescarto.mern.gouv.qc.ca/pes/services/Territoire/PATP_prov_WMS/MapServer/WmsServer?SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=Affectations surfaciques,Affectations ponctuels&FORMAT=image/png&WIDTH=256&HEIGHT=256&BBOX={$bbox}&CRS=EPSG:3857&STYLES=,&TRANSPARENT=TRUE]]></server>
	</zoom-levels>
</source>
If someone could help me get this to work.
I took the template from this post so maybe i am doing something wrong.

Thanks.
Psyberia-Support
Site Admin
Posts: 6406
Joined: Wed Apr 14, 2010 9:41 pm

Re: Trouble adding this custom map source

Post by Psyberia-Support »

Hi,
It seems there is a problem establishing a secure (SSL) connection.
Here is an version (insecure) working fine:

Code: Select all

<source id="QC_COURONNE" layer="true">
	<name>Terres Couronne</name>
	<preview-location>-3.86,50.53,14</preview-location>
	<zoom-levels z="7,8,9,10,11,12,13,14,15,16,17" insecure="true">
		<projection-code>EPSG:3857</projection-code>
		<bbox-crs-code>EPSG:3857</bbox-crs-code>
		<server><![CDATA[https://servicescarto.mern.gouv.qc.ca/pes/services/Territoire/PATP_prov_WMS/MapServer/WmsServer?SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=Affectations surfaciques,Affectations ponctuels&FORMAT=image/png&WIDTH=256&HEIGHT=256&BBOX={$bbox}&CRS=EPSG:3857&STYLES=,&TRANSPARENT=TRUE]]></server>
	</zoom-levels>
</source>
Do you like AlpineQuest ? Leave a small comment on Google Play !
Aliamba
Posts: 4
Joined: Sun May 16, 2021 8:46 pm

Re: Trouble adding this custom map source

Post by Aliamba »

Thanks a lot for the support you give!
Post Reply