Questions tagged [ogc]
A geospatial standards organization known as the Open Geospatial Consortium
194
questions
1
vote
1
answer
48
views
OGC WKT Format for Polygon From Sketch Widget ArcGIS JS SDK
In the ArcGIS JS 4 SDK, there is a sketch widget that allows one to draw different shapes on the map of your choosing. I implemented this to an iframe on my site. However, I need code to help me get ...
0
votes
1
answer
28
views
Does GeoServer support FILTERs in GetFeature requests?
I have a web client that filters WFS layers from various servers such as MapServer and GeoServer.
The following URL (encoding and removing whitespace does not make a difference):
https://ows-demo....
0
votes
1
answer
34
views
Does Oracle Spatial have equivalents of ST_IsClosed ST_IsRing ST_IsSimple
I'm trying to find the equivalent in Oracle Spatial of the above OGC functions. I know there's not a direct function I can call, does anyone know of a workaround to get these functions by combining ...
2
votes
1
answer
96
views
Availability of www.opengis.net CRS database
In OGC services coordinate reference systems are often referenced by their OGC URI, e. g. http://www.opengis.net/def/crs/EPSG/0/4326
Those URIs point to XML documents that include more information.
...
0
votes
0
answers
48
views
Identifying axes for WCS subset requests
https://ows.rasdaman.org/rasdaman/ows?&SERVICE=WCS&VERSION=2.1.0&REQUEST=GetCapabilities provides various WCS coverages, for example https://ows.rasdaman.org/rasdaman/ows?&SERVICE=WCS&...
0
votes
1
answer
37
views
Offering WCS 2.x responses as compressed GeoTIFF from Rasdaman
I have a Rasdaman WCS server. I use and support WCS 2.1.0 clients but would like to support WCS 2.x in general.
Rasdaman offers various georeferenced raster formats for the responses, such as image/...
1
vote
1
answer
36
views
Specifying maximum dimensions for WCS 2.1.0 responses
I am hosting an unspecified WCS (2.1.0) server with limited resources. Is there a way to communicate a maximum result raster size (in width and height) to clients in the WCS (2) standard?
1
vote
1
answer
62
views
WMS layer name uniqueness
I cannot find anywhere in the OGC WMS specification that a layer name attribute shall be unique, which is strange to me.
For example if you have a look at the below WMS service
https://www.gebco.net/...
1
vote
1
answer
25
views
Should a OGC compliant WFS service have a POST method in the GetCapabilities file?
I am trying to integrate a WFS service from a software provider into another software provider's mapping application.
After investigating, the receiving software supplier has said that the WFS service ...
0
votes
2
answers
62
views
WMS cross-layer rendering question
Please imagine a WMS Service (OGC WMS 1.3.0) that offers two layers:
POSTAL (post code areas) and
ADMIN (administrative areas).
Each layer renders the area outlines, and within each area, it's name ...
1
vote
1
answer
125
views
Validation of Vector Geometries to OGC Standards
I'm currently using FME to validate geometries, coming from 3rd parties, making sure there to OGC Standards.
I was hoping to be able to replicate these checks in QGIS, but find the tools available (...
0
votes
0
answers
95
views
Cesium; No Geoid Terrain service provided - no geoid conversion will be performed
I have this Cesium JS (v1.103) in which I tried to plug an existing I3S service, but it's not working:
const viewer = new Cesium.Viewer("cesiumContainer");
let i3SData = new Cesium....
1
vote
0
answers
620
views
Get WMTS tile row, column, and zoom for coordinates in EPSG:3857
I am writing an SDK that will allow users to enter coordinates in EPSG:3857 and a zoom level (long, lat, zoom) and return a tile row, column, and zoom. The end goal is for this tile row, column, and ...
1
vote
1
answer
281
views
GeoServer WPS gs:Aggregate throws: Filter type not supported error
I'm using the WPS gs:Aggregate function with an OGC filter. When I use an OGC filter with PropertyIsEqualTo it works. But when I use a geometry filter it throws the error 'Filter type not supported'.
...
5
votes
2
answers
861
views
Why do single-part WKT polygon vertices require double parentheses?
Regarding the WKT standard: Wikipedia: Well-known text representation of geometry
Why do single-part polygon vertices require double parentheses?
That seems inconsistent with single-part points and ...
1
vote
2
answers
342
views
Why do filter parameters on OGC WFS not work?
On the website https://www.bezreg-koeln.nrw.de/brk_internet/geobasis/webdienste/anleitung_wfs.pdf is shown how to use filters in OGC WFS. There is also an example request:
https://www.wfs.nrw.de/...
0
votes
1
answer
216
views
GeoServer: Can Min/Max Scales be set on Groups of Rules or Layers?
I would like to symbolize a line layer with different rules at different scales and could use some help figuring out the most efficient way to do so.
I have a layer of roads and I would like to ...
1
vote
1
answer
418
views
Representing a route that doubles back on itself in BigQuery with a LineString
I'm trying to represent routes in BigQuery, but running into issues for routes that double back on themselves. Consider the following LineString that proceeds from the southwest to the northeast of ...
0
votes
1
answer
161
views
Using FAO Geonetwork Data WFS or WCS in QGIS
Does anyone know how to connect to FAO Geonetwork Server (https://data.apps.fao.org/map/catalog/srv/eng/catalog.search#/search?facet.q=type%2Fdataset) as Web Feature Service (WFS) or Web Coverage ...
-1
votes
1
answer
313
views
Seeking Python support for WMTS 1.0.0
I am trying to access a WMTS server what only supports version 1.0.0. With OWSlib 0.25 I get:
from owslib.wms import WebMapService
base_url= 'https://cyanoalert.brockmann-consult.com/api/latest/'
wms ...
1
vote
1
answer
660
views
WFS Intersects error using GeoServer (Illegal property name)
I have a problem using OpenLayers WFS intersection filter with GeoServer:
Context:
I want to send an intersection filter request to my WFS server to get feature geometry and attributes using this Open ...
0
votes
1
answer
203
views
How to get only list of items without geometry from OGC services?
How can I get list of items from WMS or WFS services? I want to fill dropdown list, so I do not need geometries. I need only JSON list of items.
1
vote
1
answer
810
views
GeoServer SLD Functions
I am in need to use a postgres query inside an sld file. Based on the documentation, before testing the now() function, I decided to make a test with the max function. I want to style only the max ...
2
votes
1
answer
384
views
Can a self-intersecting banana polygon be made OGC-compliant in an Azure SQL Database using spatial functions?
I'm an experienced Postgres / PostGIS user fiddling with SQL Server / Azure SQL Database spatial capabilities for the first time.
Banana Polygon
For the banana polygon pictured above, I believe there ...
2
votes
0
answers
139
views
OGC CSW Filter Capabilities Comparison Operators
I'm a bit confused with OGC standards related to CSW GetCapabilities for Filter Encoding.
A typical CSW GetCapabilities Request
http://www.geocatalogue.fr/api-public/servicesRest?service=CSW&...
3
votes
1
answer
407
views
Geometry data type Binary storage description
I'm looking for some low level information or reading or reference material which explains how most GIS databases store the geometry data type in binary form, because - I never really investigated it ...
1
vote
1
answer
95
views
Intersect with Linestring rather than Polygon
The code below filters by given polygon coords but I need to do the same except with a linestring. How do I find polygons that intersect with a polyline?
<ogc:Filter>
<ogc:Intersects>
...
6
votes
1
answer
663
views
Where are the WKT types CIRCULARSTRING, COMPOUNDCURVE etc actually defined?
I'm trying to find the actual definition of the curve types supported by PostGIS in WKT.
PostGIS's documentation refers to the " SQL Multimedia Applications Spatial specification":
The SQL ...
1
vote
1
answer
201
views
OS Features API: Filtering by Intersects with Polygon
I'm trying to use the OS Features API to retrieve Greenspace within a Polygon. The OS example here demonstrates how this is supposedly possible, but when I try the same I cannot retrieve features.
I ...
0
votes
0
answers
204
views
WFS filter without specifying exact geometry structure
I'm trying to query a WFS-server for polygons with an Intersects-filter. The problem is that the server does not recognize "MultiSurface" or "surfaceMember" objects in a query, ...
3
votes
1
answer
292
views
Polygon intersection giving a GeometryCollection of only LineStrings, and the wrong dimension
I have a case where I want to create a difference between two geometries, and store it my db. I later need to check for conflict between geometries in the db, and for that I check two things: if there ...
2
votes
1
answer
553
views
Inconsistencies in features count retrieved while consuming a WFS webservice
GDAL approach
I'm retrieving data using GDAL with the following
ogr2ogr -f GeoJSON basol.geojson \
--config OGR_WFS_PAGING_ALLOWED ON \
--config OGR_WFS_PAGE_SIZE 800 \
--...
0
votes
1
answer
22
views
GetCoverage request - don't load result into memory and directly to hard drive
I want to make a GetCoverage-request against a server and download more or less 24 GB of data.
In R I would do something like this:
library(httr)
res = GET("server...REQUEST=GetCoverage...")
...
6
votes
1
answer
1k
views
See WFS or WMS corresponding full http request in QGIS when a layer was added from any of these services
I have added both a new WMS and a new WFS server into a QGIS project, by specifying a generic GetCapabilities URL in the appropriate sections in the browser panel:
After that, I am able to add some ...
0
votes
1
answer
1k
views
Factory error while trying to build DataStore with GeoTools
I am creating a simple java program that will handle the response of my WFS OGC server and display the image behind a given link.
The link I use for generating an image:
http://localhost:8180/gss/...
0
votes
1
answer
154
views
How to call GetLegendGraphics and hide items not in map?
I need to show a legend from Geoderver layer but wanto to show it only for elements actualy on map. I've found this but seems it not work for me.
Here is my test case:
https://geoservicos.ibge.gov.br/...
3
votes
1
answer
235
views
When generating WMS service in ArcGIS random numbers are added to the layer name
I have an mxd file. Each time I share/publish a WMS service to the ArcGIS server as WMS, random numbers are added to the layer name. For example here is added number 8950 at the end of the <Name>...
0
votes
0
answers
126
views
PyQt5: Wipe XYZ Connections
I am trying to remove all the xyz connections in a QGIS3 project via PyQt5. I am hitting the following error for the code bellow:
for group in getGroupXYZ(self): NameError: name 'getGroupXYZ' is not ...
3
votes
1
answer
384
views
What is difference between OGC and ISO standards - why do some open specs carry both standards?
A good example is the Simple Feature Access - "OpenGIS® Simple Features Access (SFA), also called ISO 19125". Why use one over the other? And why have both?
0
votes
1
answer
141
views
Limit access to WMS service after number of requests [closed]
Is it possible to limit access to WMS service for users who made more than X number of requests?
Is there any way this can be done?
0
votes
2
answers
440
views
Why the integration of pygeoapi "OGC API Features" in QGIS 3.14 is not working?
I'm using pygeoapi as my server, and I'm having troubles with the connection of QGIS (3.14.0-Pi). I can see the list of layers available when I connect with my server from QGIS, but when I add to the ...
0
votes
1
answer
470
views
Enable SSL in QGIS server
Context
I have a dockerized QGIS server project running and serving tiles through an OGC WMTS.
E.g. this URL:
http://{baseurl}/?SERVICE=WMTS&VERSION=1.3.0&REQUEST=GetTile&LAYER={...
3
votes
0
answers
822
views
Query a QGIS server WMTS using a RESTful URL as defined by the OGC
Context
I'd like to use the WMTS from a QGIS server to serve a raster image as a base map in OpenStreetMap.
Description of the issue
I have set up a QGIS server to serve my raster image. Both WMS and ...
2
votes
2
answers
323
views
Feature Identifiers in WFS
Almost all of the WFS/WFS-T servers, the feature identifiers -represented as gml:id in the XML document- that I have come across were in this format: [LayerName].[IntegerFeatureID], e.g., ...
0
votes
1
answer
299
views
Mapbender: failed to load WMS-layer / target elements not defined
After creating a WMS (1.3.0) in GeoServer (2.15.1) I cannot load the WMS service in Mapbender (v. 3.0.8.1).
Original WMS-URL:
http://localhost:8082/geoserver/ows?service=WMS&version=1.3.0&...
3
votes
1
answer
881
views
Relationship between WMS styles and layers parameters for GetMap request in WMS 1.3.0?
Here is the description which I copied from GeoServer:
layers Yes Layers to display on map. Value is a comma-separated list of layer names.
styles Yes Styles in which layers are to be rendered. ...
1
vote
0
answers
546
views
What is a valid WMTS Capabilites TileMatrixLimits element if the TileMatrixSet MatrixWidth or MatrixHeight is 1
In a OGC WMTS 1.0.0 capabilities document, part of the TileMatrixSetLink is the TileMatrixSetLimits element. It contains a list of TileMatrixLimits elements, which in turn specify the dataset extent ...
1
vote
0
answers
132
views
Implicit geometry typecast via trigger
Because OGC SFS is relatively strict when it comes to mixing Geometries with their MULTI- Counterparts, we came up with a solution to store everything as MULTI... and convert incoming geometries via ...
1
vote
1
answer
290
views
WCS request for large raster
I am new to using OGC services and am attempting to extract a large tiff using the following URL request:
http://gis.dnr.alaska.gov/terrapixel/cubeserv/ortho?DATASTORE=SDMI_ORTHO_RGB&SERVICE=WCS&...
5
votes
1
answer
1k
views
Exporting GeoPackage layer to GeoJSON changes CRS from WGS 84 EPSG:4326 to OGC:CRS84
I'm attempting to convert a polygon layer from GeoPackage format to GeoJSON in QGIS 3.10.1. The original layer has a coordinate reference system of WGS 84 (EPSG:4326) which is what I need. Yet the ...