Hot answers tagged

6

Try with intersects: <ogc:Intersects> ... </ogc:Intersects>


3

Azure provides ready built Ubuntu boxes (and yes, that means virtual machines), so it should be no problem having GeoServer (or MapServer) installed and working. There used to be an OpenGeo image for AWS, I don't know if that's still out there but it's also a good option since it comes preconfigured.


3

If you are running GeoServer from the command line then you are only testing it and so should leave it running in a spare console window until done. In a production environment you need to use the .war file in a servlet container such as tomcat or jetty which will be run using service (or systemd or whatever your system uses) so that you don't need to ...


3

You are using WFS 1.0.0. That WFS version is using Filter Encoding Standard 1.0.0 http://portal.opengeospatial.org/files/?artifact_id=1171 and there is indeed a typo in the standard. On page 17 the schema for filter capabilities is defined as: Spatial capabilities are encoded according to the following XML Schema fragment: <xsd:complexType ...


2

Solved..in pg.hba conf file of both servers (in my cases *.*110.11 & ..48.22) i have specified the connection details of the opposite server. Like @ ..110.11 I have specified connection info of ..48.22


2

GeoServer provides a WCS Request builder under demos that allows you to construct and/or run WCS requests against your local server. WCS allows you to specify the subset that you require as a bounding box in map units as in this example: <?xml version="1.0" encoding="UTF-8"?><GetCoverage version="1.0.0" service="WCS" ...


2

It is dependent on the tool you are using for the POST, but there are examples in the GeoServer documentation (e.g. http://docs.geoserver.org/latest/en/user/security/tutorials/digest/index.html). In curl, it is -u myusernamer:mypassword, in wget, it is --user myusernamer --password mypassword (same convention as in the question). In the browser, it will ...


2

If you're wanting to display a lot of data, use WMS, which is a rendered image-based system. And then if you still want to have interactivity, you can do that using vectors. Check out this: https://github.com/alexgleith/maps-website/blob/master/stormwater.html#L151 This is a pretty complex example, and it uses leaflet rather than openlayers, but the core ...


2

I'm afraid this is a very well known bug for which we have no solution at the moment: https://osgeo-org.atlassian.net/browse/GEOS-4773


2

Here an example to create one transparent classe. You will use opacity="0.0" parameter: <sld:ColorMap> <sld:ColorMapEntry color="#000000" opacity="0.0" quantity="-999"/> <sld:ColorMapEntry color="#111111" opacity="1.0"quantity="1.0"/> <sld:ColorMapEntry color="#AAAAAA" ...


2

You need to set the http proxy variables either using a system environment variable or through a JVM property set in catalina.sh. There are detailed steps on how to do this on the WFS Store page. In the past there have been issues with the HTTP COnnection pooling not picking up the proxy variables so if it continues to not work try unclicking the ...


2

Layers published as sql views are not editable, you have to publish them as normal tables instead


1

You can have array columns in a table. For your example table the create statement would be along the following lines. CREATE TABLE spatial_table ( name VARCHAR(20), timestamps timestamp[], the_geom geometry )


1

As you can see in the documentation this is achieved by applying two (or more) marks to the point. So for your example something like: [usage='example'] { mark: symbol('square'), symbol('circle'); } [usage='example'] :nth-mark(1) { size: 16px; fill: yellow; } [usage='example'] :nth-mark(2) { size: 14px; fill: red; }


1

You need to consider to migrate your data to a spatial database, like Postgis. Shapefile is not a supported format for WFS-T. Check here for more information.


1

Building your own solution might actually not be as hard as you think. All you would have to do is register a moveend event and then call getBounds() or getBoundsZoom() (in case the zoom level is important). Then you send this extent to your database and query all the points that fall within it. Of course you need a database that understands geospatial ...


1

You can change the getFeatureInfo template used by geoserver, see section "Advanced Formatting". You could try to intercept the ${attribute.rawValue} and print this directly or modify it before sending the feature info back.


1

You are making a GetFeatureInfo request to a WMS service, the WMS is required by the standard to return information about the point you have clicked on. If there is more than one feature at the point then it may return information about all the features (up to featureCount) that are there. You seem to be asking for information about a raster so the request ...


1

There is a link where time support for GetMap in Geoserver is described, which seems to be available from version 2.2. You could check, if using time parameter for GetFeatureInfo on a time-enabled wms will work, too. Otherwise, I am pretty sure, there is time support with the thredds WMS/ ncWMS, where you can expose netCDF files containing time series data. ...


1

Provided that you have mounted the directory on the server and tomcat or which ever user is running GeoServer can read and write to the data folder then it will work. However it will be slow as there will be a network link to traverse for each map.


1

Problem solved. There was a wrong row in the "spatial_ref_sys" table of the SQL Server database, which was referring to an unexisting SRS. I've replaced it with the following row for WGS84 SRS. srid:4326 auth_name:EPSG auth_srid:4326 srtext:GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS ...


1

It depends a bit on what your goal is, with Geoserver (and other mapservers) you are in control of your data, as you provide the services. They do not cost anything (beside the infrastructure). But you have to care about the underlying server (hardware or platform as a service and software, security and so on), probably need an Apache/Ils/Nginx whatever ...


1

Consider the use of Rendering transformation. Check the example Heatmap SLD. with Variable substitution in SLD to pass dynamic values with WMS request parameters.



Only top voted, non community-wiki answers of a minimum length are eligible