Questions tagged [ogc]

A geospatial standards organization known as the Open Geospatial Consortium

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 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 ...
user avatar
1 vote
1 answer
29 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 ...
user avatar
  • 133
0 votes
1 answer
23 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 ...
user avatar
  • 57
-1 votes
1 answer
97 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 ...
user avatar
  • 161
1 vote
1 answer
145 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 ...
user avatar
  • 31
0 votes
1 answer
39 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.
user avatar
  • 1,604
1 vote
1 answer
195 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 ...
user avatar
2 votes
1 answer
140 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 ...
user avatar
2 votes
0 answers
62 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&...
user avatar
3 votes
1 answer
53 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 ...
user avatar
  • 2,617
1 vote
1 answer
21 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> ...
user avatar
5 votes
1 answer
191 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 ...
user avatar
1 vote
1 answer
71 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 ...
user avatar
  • 21
0 votes
0 answers
89 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, ...
user avatar
3 votes
1 answer
85 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 ...
user avatar
  • 133
2 votes
1 answer
244 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 \ --...
user avatar
  • 28.6k
1 vote
1 answer
14 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 ...
user avatar
  • 657
4 votes
1 answer
454 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 ...
user avatar
  • 6,698
0 votes
1 answer
374 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/...
user avatar
  • 11
0 votes
1 answer
44 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/...
user avatar
  • 1,836
3 votes
1 answer
124 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>...
user avatar
  • 51
0 votes
0 answers
86 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 ...
user avatar
3 votes
1 answer
183 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?
user avatar
0 votes
1 answer
68 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?
user avatar
  • 701
0 votes
2 answers
283 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 ...
user avatar
0 votes
1 answer
261 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={...
user avatar
  • 6,698
2 votes
0 answers
479 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 ...
user avatar
  • 6,698
2 votes
2 answers
156 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., ...
user avatar
0 votes
1 answer
147 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&...
user avatar
  • 481
3 votes
1 answer
464 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. ...
user avatar
1 vote
0 answers
233 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 ...
user avatar
  • 1,890
1 vote
0 answers
86 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 ...
user avatar
0 votes
1 answer
141 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&...
user avatar
4 votes
1 answer
812 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 ...
user avatar
2 votes
1 answer
186 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 ...
user avatar
1 vote
0 answers
623 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 ...
user avatar
  • 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 ...
user avatar
0 votes
1 answer
362 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" ...
user avatar
  • 73
1 vote
0 answers
86 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 ...
user avatar
  • 11
1 vote
1 answer
31 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°, ...
user avatar
0 votes
0 answers
149 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....
user avatar
  • 101
0 votes
0 answers
183 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 ...
user avatar
0 votes
2 answers
446 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....
user avatar
1 vote
0 answers
55 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 ...
user avatar
  • 11
0 votes
1 answer
522 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 @...
user avatar
  • 155
3 votes
0 answers
812 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 ...
user avatar
3 votes
1 answer
408 views

HTTP Basic Auth Failure: Esri JS API

I am unable to prompt the Basic Authorization popup to appear using the Esri JS API with a Secured OGC WMS service. A concise description: Using a basic fetch request, with credentials: "include" ...
user avatar
0 votes
0 answers
229 views

Retrieving all layers of WMS?

I'd like to display data of a WMS (WebMapService) that contains different layers. The URL of the capabilities document is: http://geoportal.saarland.de/mapbender/php/wms.php?layer_id=41183&...
user avatar
  • 415
1 vote
0 answers
247 views

Importing WFS Feature in ArcGIS Desktop? [closed]

I am trying to Import an open source WFS Feature in ArcGIS. I have filled all the Options correctly but the Toolbox does not work and I receive error that feature is empty. How can I correct it? ...
user avatar
1 vote
1 answer
344 views

Can OGC Simple Feature polygon's interior boundaries share an edge?

Is the polygon pictured below compliant with the OGC Simple Feature standard? There are two interior boundaries that share a segment so intuitively I would say it is not but I have not been able to ...
user avatar
  • 616