A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

1

There are a couple of LocationTech Projects which adress this, I think the most mature one is GeoMesa, but also GeoWave is able to store raster data in an distributed key/value (accumolo is mentioned most often here) store and connect it to geoserver. preferring the Big Spatial Store Option: I think you should have a look at Geomesa Raster tutorial This ...


1

It's because you are not making a valid WMS request - try something like localhost:8080/geoserver/nyc/wms?service=WMS&version=1.1.0&request=GetMap&layers=nyc%3Anyc_buildings&bbox=983797.5%2C207443.0%2C991899.0625%2C218850.828125&width=545&height=768&srs=EPSG%3A2908&format=application/vnd.google-earth.kml+XML or if you want ...


1

You don't want to cascade a remote WFS (that is republish someone else's layers in your own GeoServer). You want to use the GeoServer REST API to add and publish a shapefile. So you need to look at this tutorial from GeoSolutions


-1

geoserver/workspacename/ows?service=WFS&request=DescribeFeatureType


2

A GetCapabilities request must include the service type, so https://myserver.com/geoserver/mynamespace/wfs?request=GetCapabilities is not correct, it should be: https://myserver.com/geoserver/mynamespace/wfs?request=GetCapabilities&service=WFS This will give an XML result in your browser. Similarly, a DescribeFeatureType request must include the ...


2

Your problem is stated here: The geometry column in the table has no SRID set (Find_SRID for this table returns 0). As a result GeoServer considers this unprojected data (it's just numbers not a position) and can't reproject it. GeoServer only considers the SRS of the geometry column not the individual projection of the geometries (which PostGIS doesn't ...


0

As the error says you have an invalid URL: url has an invalid value: file:\C:\Program Files (x86)\GeoServer 2.15.1\data_dir\printing URLs can't have \ in them as it just escapes the next character - so you could add \ before each one so your URL becomes: file://C:\\Program\ Files\ (x86)\\GeoServer\ 2.15.1\\data_dir\\printing or go the easy route (and ...


2

assuming that you want to publish your map via WMS, you could use SLD to style your layer. You can use the <size> element. You can find an example in the GeoServer SLD Cookbook. The Point as Graphic section should cover what you want. Your SLD could look like this: <sld:PointSymbolizer> <sld:Graphic> <sld:...


1

SLD provides no way to select an alpha channel. It could be implemented as a vendor extension, if you are interested in developing or sponsoring it, get in touch with the GeoServer developers or the commercial support providers


2

GeoServer has indeed stopped providing Windows installers. The community is looking for resources to setup a secured Windows machine where the installer can be built and the OSGeo certificate applied to it (otherwise Windows would complain during installation about unidentified provider). If anyone reading this message can provide such environment, please ...


3

You are right. The layer preview interface creates an invalid WMS GetMap request http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp%3Astates&bbox=-124.73142200000001%2C24.955967%2C-66.969849%2C49.371735&width=768&height=330&srs=EPSG%3A4326/kml?layers=topp:states Edit it a bit after the ...


4

This is the default behavior, see also https://docs.geoserver.org/stable/en/user/geowebcache/index.html It says: caching (storing) tiles as they are requested, eliminating redundant request processing and thus saving large amounts of processing time.


1

gdal_retile -s_srs option sets the source spatial reference system, from your question it is already set as something different. -s_srs is for situations when you know the projection of the data but the data (or associated metadata files) doesn't know or is incorrect. So never use this option if there is a projection set. If you would like to reproject the ...


1

GeoServer is trying to read the shapefile, and finds that the header of the shapefile is not following the specification, but looks like something else. Hyphotesis: The file in question is not really a Shapefile The file looks like a Shapefile, but it has been encoded in a way that does not follow the Shapefile headers See also https://en.wikipedia.org/...


1

SLD is an XML based language so newlines are just another type of whitespace. If you need a new line you need to wrap in a cdata block.


0

Is this possible: This can be readily achieved for data that is suited to a GeoTIFF format using the Geoserver s3 for Geotiff Community module - https://docs.geoserver.org/latest/en/user/community/s3-geotiff/index.html How does this affect performance? This is difficult to answer, however, I have found performance roughly equivalent to EBS/EFS storage at a ...


1

You are mixing versions of the styling languages - most of your document is using Symbology Encoding (SE) which needs to use Filter Encoding Specification (FES) 2.0. However, you have used Filters v 1.0 in your document which is why GeoServer doesn't like the document. So the 1st thing to do is add xmlns:fes="http://www.opengis.net/fes/2.0" and xsi:...


3

When the map is displayed, the view will fetch the rows, group them by a (likely) indexed field and return the merged geometries. Since there isn't too many geometries, it is fast. When clicking on the map, the request is basically to identify which geometry is at a given location. To do so, the complete view is computed, then a spatial comparison is ...


4

When using views with GeoServer you should be cautious about performing any expensive queries since each time the layer is requested the SQL for that view is executed. In your case it is likely that whenever you move the map (or click a feature for the attribute information) it runs your union query which is not really practical. If your data doesn't change ...


0

GeoServer CSS does not support the var function, or setting variables at the beginning of the stylesheet. Code changes to add such support, or funding to make that happen, are both gratefully accepted.


2

and can I change the GetCapabilities in GeoServer per hand? No, but what you can do is take a copy of the GetCapabilities response and edit the onlineResource parameter value to just wms? for the GetMap and other operations, except the GetCapabilites which would be a reference to itself (the static file you create and host on a public web site). Then point ...


1

Hum... it displays fine for me, using the GeoServer 2.17.x nightly builds, and the associated mbstyles and mbtiles-store community modules. Won't work with earlier versions. Also, if you are using the official openmaptile mbstyle styles (e.g., osm-bright-gl) some adjustments are needed in the style, as it's referring layers and attributes that are not ...


Top 50 recent answers are included