Hot answers tagged

6

This is because boundedBy / bbox is a property that OpenLayers creates when parsing the GML, it is not a real feature property. So when you update, you should clone the feature and get rid of it. Some example code: // do a WFS transaction to update the geometry var properties = feature.getProperties(); // get rid of bbox which is not a real property delete ...


6

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


5

If you want to use a postgis database with Openstreetmap data, you have to populate it with osm2pgsql, not osmosis. That is the only way to get polygons out of Openstreetmap multipolygon relations and closed ways in a format that GIS software can understand. Alternatively, you can use GDAL ogr2ogr to save OSM data into a spatialite database. Once you have ...


5

You need java 7 to run this version of Geoserver.if you install it and reinstall Geoserver (pointing to the jre7) you should be fine. I would also recommend to install the new version to a different directory.at the moment you seem to have it installed to "C:\Program Files (x86)\GeoServer 2.6.2\" (see log messages above). A clean reinstall would be better.


5

While I can't help you on the database io speed issue, you can display 3 millions points easily if you rasterize. Bin points into pixels (aggregate), then decide how contents of bins translate into a color. I'm currently involved in creating a python library to do exactly this: https://github.com/bokeh/datashader This example below uses that technique to ...


5

You do not have to use port number 8080 for GeoServer, typically that is the default one defined within the installer.


4

It appears you were/are on the right track as the 'Z' is used for a timezone indicator, here is the source I found that best answers your question "Z" is kind of a unique case for DateTimes. The literal "Z" is actually part of the ISO 8601 datetime standard for UTC times. When "Z" (Zulu) is tacked on the end of a time, it indicates that that time is UTC, ...


4

I know this is too late for the OP, but hopefully it will help someone like me who came accross this question. I worked through several issues trying to use a postgis raster in geoserver similar to the OP, the below is how I succesfully loaded by raster data. Preconfiguration. A BNG geotiff layer, generated from FME, has been imported into postgis using ...


4

According to a recent comparison of different mapping engines in performing tile seeding (see Section 4.3), MapServer should be much faster than GeoServer. Is there any re-projection of geometries in your rendering stack? An old version of MapServer might have the same issue with proj4 lib as Mapnik had.


4

The creation options you are able to use with the -co option solely depend on the image format you want to use. GeoTiff for instance supports the following compression algorithms: JPEG/LZW/PACKBITS/DEFLATE/CCITTRLE/CCITTFAX3/CCITTFAX4/LZMA/NONE. Each GDAL driver has it's own page where all the creation options are listed. Here is the GeoTiff driver page


4

There are still some issues with the PostGIS on the fly simplification sometimes. So the quick answer is to turn it off for now and see if the issue goes away. For bonus marks if you can isolate the Polygon(s) that cause the issue and raise a bug report with them attached so it gets fixed.


4

Your features do not properly intersect; using a series of JOIN statements in the definition of your view meant that not all features of your table_a table were retained in the final view. Using LEFT JOIN ensures that non-matching (i.e. non-intersecting) records are retained.


4

The reason why GeoServer (as every server compliant to the OpenGIS Webservice-format) provides this function is to be able to determine what your WMS or WFS is able to do, which kind of data they use (spatial reference, accuracy, layers), what the extent for them (bounding box) is and who might be responsible for issues when having problems on dealing with ...


3

I haven't tested the library, but the GSRCC library looks promising place to start: https://code.google.com/p/gsrcc/ The GSRCC library is a C#.net Client to the Geoserver 2.1.x+ RESTful configuration extension. Using this library, one can access a remote Geoserver via HTTP and configure it. The REST extension of Geoserver has to be installed on ...


3

Pointing "directly" to an S3 bucket (e.g. using s3fs) is "probably" a bad idea. e.g. http://stackoverflow.com/questions/10801158/how-stable-is-s3fs-to-mount-an-amazon-s3-bucket-as-a-local-directory EBS is almost certainly the right place to store the data for access by GeoServer. 100 GB is very manageably by EBS standards. (Maximum volume size is 16 ...


3

Figured it out! The following SLD uses a rendering transformation to call "gs:Clip", which clips vector features to a bounding geometry. The result is then rasterized by GeoServer's WMS. <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor version="1.0.0" xmlns:ogc="http://www.opengis.net/ows" ...


3

Here is a code sample to show how you could publish a WMS layer hosted on geoserver in Leaflet: var map = L.map('map').setView([51.505, -0.09], 8); var forest2000 = L.tileLayer.wms("http://138.26.24.xxx:8080/geoserver/tiger/wms",{ layers: 'forest2000', format: 'image/png', transparent: true, opacity: 0.7 }).addTo(map); Change ...


3

I had similar problem, adding pixelRatio: 1, to ol.Map section solved the problem. http://jsfiddle.net/jLmyo3gL/2/


3

Definitely that's not an obvious way of loading a WMS. This is what have worked for me (QGIS v.2.8.1): urlWithParams = "url=http://maps.itu.edu.tr:8082/geoserver/sf/wms&format=image/png&layers=sfdem&styles=&crs=EPSG:26713" rlayer = QgsRasterLayer(urlWithParams, 'DEM', 'wms') rlayer.isValid() # Returns True this time ...


3

It's been added since 2.7.1. See release note here. Here the JIRA report. Simone.


3

No, there is no REST based API for data manipulation, only for configuration. To modify vectors you should use WFS-T


3

Your Insert request contains an feature that doesn't match your Schema which is expecting the Point attribute to be called the_geom. You don't get an error because you have marked that feature as Nillable (or optional). <xsd:schema xmlns:gml="http://www.opengis.net/gml" xmlns:opengeo="http://opengeo.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...


3

The same max render time is applied to any WMS request. When doing meta-tiling the internal GeoWebCache makes a single WMS request, which is subject to the max render time. So, if you want to render larger meta-tiles, you will have to increase the max render time accordingly.


3

POLYGON((-90.89 46.67,-90.89 46.67,-90.89 46.67,-90.89 46.67,-90.89 46.67)) Looks like WKT. If it is, you can convert features/layers/geojson to WKT using Wellknown or Wicket-Leaflet


3

Amazon's EC2 is really easy and fast to test and play with. I don't know your background, but in my view, especially if you have some Linux background, it's pretty easy to get a Ubuntu + PostGIS + GeoServer + Nginx + Leaflet mapping system up. That gives you a lot of flexibility, but does require system administration and development. The cost can be ...


3

You can specify the optional RULE parameter in your request to specify the rule you want the legend for (see documentation) You must have a Rule with a Name set, so if you modify the default population style: <Rule> <Name>top</Name> <Title>&gt; 4M</Title> <!-- like a linesymbolizer but with a fill ...


3

It would seem that at this time WFS is not supported within the ArcGIS Online viewer. However this functionality may be added in the future, possibly as soon as Fall 2015. According to a post on this geonet thread: There are plans to provide WFS support within the map viewer. We are looking at different options, and it may be late 2015 by the time we ...


3

Although I've not looked at any leaflet plugins the that might make your life easier, you could typically carry out a WFS request to query the data and filter by an attribute which is what you're doing here. I'd look into GetFeature requests


3

concerning your question about how to update the bounding-boxes: Choose the layers menu: -- Click on the layer in the layers list: -- Recalculate the bounds If the extent keeps changing you could perhaps try to set the extent manually to the world extent...


3

You mean GeoServer 2.1.3 runs 6.1.8 (not 6.8.1), correct? According to this source the included library is still Jetty 6.1.8.



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