Questions tagged [ogc]

A geospatial standards organization known as the Open Geospatial Consortium

Filter by
Sorted by
Tagged with
1 vote
0 answers
16 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
44 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'. ...
4 votes
2 answers
367 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 ...
  • 918
1 vote
2 answers
57 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/...
  • 21
0 votes
1 answer
37 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
116 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 ...
  • 133
0 votes
1 answer
56 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 ...
  • 57
-1 votes
1 answer
168 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 ...
  • 161
1 vote
1 answer
269 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 ...
  • 31
0 votes
1 answer
59 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,634
1 vote
1 answer
328 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
194 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
82 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
91 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 ...
  • 2,953
1 vote
1 answer
49 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> ...
5 votes
1 answer
291 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
92 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 ...
  • 21
0 votes
0 answers
104 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
127 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 ...
  • 133
2 votes
1 answer
326 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 \ --...
  • 29k
1 vote
1 answer
15 views

GetCoverage request - don't load result into memory and directly to hard drive

I'd be super grateful for any pointer to some resource, or any other kind of help. I want to make a GetCoverage-request against a server and download more or less 24 GB of data. In R I would do ...
  • 717
4 votes
1 answer
607 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 ...
  • 7,053
0 votes
1 answer
521 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/...
  • 11
0 votes
1 answer
77 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/...
  • 1,848
3 votes
1 answer
141 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>...
  • 51
0 votes
0 answers
95 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
229 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
85 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?
  • 721
0 votes
2 answers
308 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
296 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={...
  • 7,053
2 votes
0 answers
559 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 ...
  • 7,053
2 votes
2 answers
182 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
193 views

Mapbender: failed to load WMS-layer / target elements not defined

After creating a WMS (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&...
  • 489
3 votes
1 answer
572 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
290 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,910
1 vote
0 answers
102 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 ...
0 votes
1 answer
172 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
951 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 ...
2 votes
1 answer
199 views

FGDB Domains - Exporting the full stack to OGC Format

I want to convert a FGDB into an OGC Data format that: keeps domains and subdomains , keeps data types and is portable. Is this possible at all?Some answers below refer to geopackage, but I havent ...
1 vote
0 answers
705 views

ST_Latitude and ST_Longitude functions do not return exact values in MySQL [closed]

I tried to collaborate on this question from the Stack Overflow site. The ST_Latitude and ST_Longitude functions (equal ST_X and ST_Y) of MySQL (version 8.0.17) returns a non-exact value for certain ...
  • 111
0 votes
1 answer
37 views

Clarifying feature references in WFS?

I want to clarify something about feature references in WFS 2.0 standard (OGC 09-025r1 document) Do I understand correctly, that "resolve feature reference" means "get (remote or local) feature by ...
0 votes
1 answer
403 views

WCS report TIFF not supported in GeoServer

I have a WPS running in GeoServer but the requests fails due to a exception: The request to sum all values in a region: <?xml version="1.0" encoding="UTF-8"?><wps:Execute version="1.0.0" ...
  • 93
1 vote
0 answers
105 views

Does WCS support tiling and pyramids?

Due to performance reasons, I would like to implement some short of tiling + pyramids in a WCS service. I am not so familiar with WCS, so I was not able to figure out whether it is something ...
  • 11
1 vote
1 answer
32 views

WFS bbox behavior for longitudes >= 360 degrees

I have a question regarding the OGC WFS specification (2.x and unfinished 3.x). Let's say I have a WFS feature with longitude 0°. If I make WFS query with bbox with minx = 359° and maxx = 361°, ...
0 votes
0 answers
168 views

How do I search for features within another feature using WFS OGC

I understand I can write a GML query like this... <wfs:GetFeature xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://giswebservices....
  • 101
0 votes
0 answers
209 views

OGC filters not working on WFS service

OGC filters not working on WFS service It only seems to serve up unfiltered data or a layer with a attributes table but no features as if nothing met the criteria. I have tried repeatedly with ...
0 votes
2 answers
474 views

Using Open GIS’s KML Schema Definition (ogckml22.xsd), Microsoft.Net XML Schema Definition Tool Fails

In brief, on one hand, I expect Open GIS’s KML Schema Definition, i.e. ogckml22.xsd, to be rock solid; fully debugged. Likewise, Microsoft.Net’s XSD XML Schema Definition tool (https://docs....
1 vote
0 answers
58 views

Is there any open source implementation of GeoXACML based access control mechanism for OGC Web Services?

I am looking for an open source implementation of GeoXACML PEP, PDP to provide access control to my OGC web services. I have already set-up SAML based authentication. I found a non-opensource ...
  • 11
0 votes
1 answer
546 views

How to populate a feature table in a GeoPackage file using GDAL?

I want to use the binary version of GDAL to avoid programming in C or Java here. So I have created a SQL file and I want to run it using the following command : ogrinfo.exe empty.gpkg -sql @...
  • 155
3 votes
0 answers
888 views

Converting XYZ tile coordinate to WMTS

I would like to add a WMTS tile endpoint to Mapbox-GL-JS, which only supports "XYZ" or TMS tiling schemes. According to what I understand of the WMTS specification the two seem to have the same zoom ...