performant-software / Neatline

A lightweight framework for building interactive maps and publishing them on the web.
www.neatline.org
Other
105 stars 34 forks source link

Tiled Map Service WMTS #383

Open pbcGIS opened 8 years ago

pbcGIS commented 8 years ago

It would be great if Neatline could incorporate maps served via the OGC Web Map Tile Service standard. These maps can be served up from the Rumsey Collection georeferencer and also (as I understand) can be served as simple files using a php script free from Klokan tech.

Alleviating the need to have access to a WMS would make Neatline much more accessible.

Thanks -- great tool! --pbc

erochest commented 8 years ago

That's a really interesting idea. We'll look into it.

waynegraham commented 8 years ago

@pbcote Neatline "supports" WMTS (at least as far as OpenLayers 2 does), but there's not a web interface for enabling layers. If you're brave enough, take a look at the json files in https://github.com/waynegraham/neatline_basemaps. You should get something like this:

{

  "Map Tiler Example": [

    {
      "title": "Cassini Terrestrial Globe",
      "id": "maptiler.CassiniTerrestrialGlobe",
      "type": "XYZ",
      "properties": {
        "urls": [
          "http://tileserver.maptiler.com/cassini-terrestrial/{z}/{x}/{y}.jpg"
        ]
      }
    }
}
pbcGIS commented 8 years ago

Thanks Guys,

I'll see if I can make this work!

btinker commented 8 years ago

As a work around for this (for local tiles) I used the "neatline_basemaps" method listed above and used gdal (gdal2tiles) to create a tile set for my georeferenced map. A bash script converted the WMTS tiles that gdal produces to XYZ format so that Neatline will display properly. What I am hoping for now is a way to make that layer a standard layer and not have it be forced as a "baselayer" so that I can still have a baselayer and my map displayed together.

librarygnome commented 3 years ago

Hi, did anyone follow up on this? It's 2021 and it looks like a lot of open source maps only provide tile servers, not WMS.