Configuring WMTS BaseMap for GeoNode

142 views
Skip to first unread message

1520 gis

unread,
Jun 22, 2021, 12:42:40 PM6/22/21
to mapstore-users
Dear users and developers,

Based on the references [1] and [2], I am hitting the head on a wall, trying to figure out why my django container keeps restarting forever after the WMTS MapStore BaseMap configuration showed in [3]. I have checked docker django container logs and they do not help me at all. Would anyone point me any misconfiguration in [3] please? Any comment will be very appreciated it.

Thank you very much for your time in advance.

Kind Regards

Julierme




[3] 
{

    "version": 2,
    "map": {
              "layers": [
                            {
                                "id": "WorldTimeZones",
                                "name": "WorldTimeZones",
                                "type": "wmts",
                                "url":  [
                                        ],
                                "allowedSRS": {
                                            "EPSG:3857": true,
                                            "EPSG:4326": true,
                                              },
                                "matrixIds": [
                                            "default028mm",
                                            "EPSG:3857",
                                            "EPSG:4326",
                                              ],
                                "tileMatrixSet": true,
                                "requestEncoding": "RESTful",
                            }

                          ],
              "sources": {
        "tileMatrixSet": {
          "GoogleMapsCompatible": {
            "ows:Identifier": "GoogleMapsCompatible",
            "ows:BoundingBox": {
              "$": {
                "crs": "urn:ogc:def:crs:EPSG::3857"
              },
              "ows:LowerCorner": "-2.0037507842788246E7 -3.0240971958386146E7",
              "ows:UpperCorner": "2.0037507842788246E7 3.024097145838615E7"
            },
            "ows:SupportedCRS": "urn:ogc:def:crs:EPSG:6.18.3:3857",
            "WellKnownScaleSet": "urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible",
            "TileMatrix": [
              {
                "ows:Identifier": "0",
                "ScaleDenominator": "559082264.0287178",
                "TopLeftCorner": "-20037508.34278925 20037508.34278925",
                "TileWidth": "256",
                "TileHeight": "256",
                "MatrixWidth": "1",
                "MatrixHeight": "1"
              },
              {
                "ows:Identifier": "1",
                "ScaleDenominator": "279541132.0143589",
                "TopLeftCorner": "-20037508.34278925 20037508.34278925",
                "TileWidth": "256",
                "TileHeight": "256",
                "MatrixWidth": "2",
                "MatrixHeight": "2"
              },{
                "ows:Identifier": "2",
                "ScaleDenominator": "139770566.0071794",
                "TopLeftCorner": "-20037508.34278925 20037508.34278925",
                "TileWidth": "256",
                "TileHeight": "256",
                "MatrixWidth": "4",
                "MatrixHeight": "4"
              },

            
            ]
          }
        }
      }
    }
  }
}

1520 gis

unread,
Jun 22, 2021, 12:59:47 PM6/22/21
to mapstore-users
I also added the TileMatrixSet = GoogleMapsCompatible to matrixIds object, but django container will keep restarting forever.

1520 gis

unread,
Jun 22, 2021, 2:05:23 PM6/22/21
to mapstore-users
One progress in this topic. invoke.log showed me an issue "EPSG:3857": true. I changed it to "EPSG:3857": True. Django container starts and GeoNode is up. But MapStore fails to create a Map. 

{

    "version": 2,
    "map": {
              "layers": [
                            {
                                "id": "WorldTimeZones",
                                "name": "WorldTimeZones",
                                "group": "background",
                                "type": "wmts",
                                "url":  [
                                        ],
                                "allowedSRS": {
                                            "EPSG:3857": True,
                                            "EPSG:4326": True,
                                              },
                                "matrixIds": [
                                            "GoogleMapsCompatible",
                                            "default028mm",
                                            "EPSG:3857",
                                            "EPSG:4326",
                                              ],
                                "tileMatrixSet": True,
Screen Shot 2021-06-22 at 3.04.52 PM.png
Reply all
Reply to author
Forward
0 new messages