@opengis/gis 0.2.78 → 0.2.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/gis",
3
- "version": "0.2.78",
3
+ "version": "0.2.79",
4
4
  "type": "module",
5
5
  "author": "Softpro",
6
6
  "main": "./dist/index.js",
@@ -41,7 +41,7 @@ export default async function layerList({
41
41
  from gis.rasters s where is_active and ${!user.uid ? 'is_public' : '1=1'}
42
42
  union all
43
43
  select cartocss_id as id, name, null as category, style, geom::box2d as bbox, st_asgeojson(geom)::json as geom,
44
- coalesce('/api/gis-rtile/'||cartocss_id||'/{z}/{x}/{y}.png?nottl=1',null) as url, 'cartocss' as service, group_id,
44
+ coalesce('/api/gis-rtile/'||cartocss_id||'/{z}/{x}/{y}.png',null) as url, 'cartocss' as service, group_id,
45
45
  null as popup, null as card, null as filters, source_path
46
46
  from gis.cartocss where enabled and ${!user.uid ? 'is_public' : '1=1'}
47
47
  `;
@@ -6,7 +6,7 @@ const { GetRasterInfo } = mapnik();
6
6
 
7
7
  const { prefix = '/api' } = config;
8
8
 
9
- export default async function rtile({
9
+ export default async function rasterInfo({
10
10
  pg = pgClients.client, params, query,
11
11
  }, reply) {
12
12
  if (!config.mapServerAddress) {