Hot answers tagged

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 ...


3

QGIS is a desktop program, you could create a project file with the WFS/WMS layers then modify the xml of the QGIS project file to load up in the extent that the Open Layers map is in. Export the user drawn layer to json and then they can load that in a print. But that relies on the user having QGIS. Alternatively see the answer to this question and modify ...


2

The problem is that SQL view in geoserver doesn't allow to use semicolon(';') in SQL statement. Geoserver only allows one query statement. You didn't provide the structure of Your database, but may be it's possible to build SELECT query with subquery and get the same result.


2

No, do not load the imagery into PostGIS. You want to load the image catalogue into PostGIS and use the JDBC image mosaicking support in GeoServer to read the mosaics using the database catalogue. That was you can easily update which images participate in your mosaics via the catalogue in the database, while not incurring the performance penalties of storing ...


1

GeoServer uses the top of the spatial index to quickly compute a rough bounding box by default, but you can go in the store configuration and disable the "Estimated extends" flag, this will make it compute the bbox going row by row. Mind, with a few million rows that will take minutes, and the GeoServer UI will be locked down during all that time, all you ...


1

By default point sizes are measured in pixels and so will change size as you zoom in and out of your map. The Symbology Encoding standard allows you to specify the size of your points (and other features) in map units which will remain the same real world size as you zoom in and out, that is they seem to get bigger as you zoom in like polygons do. You need ...


1

You don't have that (yet) on GeoExt 3. Meanwhile, you might check another smaller project focused on managing layers, called extjs_ol3_layercontrol. It is also written in ExtJS. Check the blog and the github. If you add the Geoserver capabilities URL (something like ...


1

Yes, you can try styling your data with QGIS. But if you want to create a rule based sld or an sld with more options (fill opacity, rules, outline etc) I recommend you to use uDig. With you uDig you can style your data with many options and then export slds that will work 99,9% when uploaded on geoserver. More about sld editor and uDig here.


1

I found some workaround to this as I was needing to do exactly the same thing, classify using kmeans inside the database depending on the features which are within the extent. I'm using openlayers. Here is what I do. In javascript I've put a listener on precompose event in the map. Then I can calculate the extents (bbox) inside the javascript and change the ...


1

You are actually making a GeoWebCache request not a simple WMS request so in general GWC ignores filters. The simple answer is to make your filtered request directly to GeoServer by changing http://localhost/geoserver/gwc/service/wms to http://localhost/geoserver/wms and all will work as you expect. This is the easiest answer as you are unlikely to want to ...


1

Could be possible to apply a zoom level into this url request? No. The concept of "zoom level" can only apply for grid-based reference systems (e.g. TMS). For WMS, you are providing both the bounding box of the area you want and the width-height of the image you want. The "zoom level" is implicit, defined by the ratio between those two parameters.


1

A WMS request returns an image that is generated on the server so the CQL filter must be executed there. If you have a supported query then GeoServer will pass the CQL filter down to the PostGIS (or other) database for further speed savings (unless it's Oracle when it may slow down :-( ).


1

The problem is that your map is in EPSG:3857 and your getFeatureInfo request is in EPSG:4326. This will work in the sense that no error is thrown because the WMS is stateless and has no idea that the two requests are related but the location of your click is "off" because getFeatureInfo works by "drawing" the map as requested and looking for the feature ...


1

If you are looking at the latest documentation then that is the correct syntax but you are using an old GeoServer so need to consult the older manual which makes no mention of the parameter. If you'd like to use this feature you will need to upgrade your GeoServer version to 2.9+.


1

As far as I know there isn't an existing function to do that, it might be possible to use the offset function to move an arrow but you'd need to know which direction to go in. GeoServer does have startPoint and startAngle (and matching end...) functions to allow you to put arrows at the beginning and end of lines. If You must label the centre of the line ...


1

As far as I know, there is no way to do that, someone would have to write a GWC TileLayer similar to ArcGisCache and then maybe also add a way to configure it from UI (e.g., going back to ArcGisCache, right now afaik you have to manually add the jar to the GeoServer, then manually change the GWC configuration file on disk, and force GeoServer to reload the ...


1

As I have found the answer, I decide not to delete this thread but to post the solution here. It comes from : https://wiki.eclipse.org/Jetty_Expanded_Webapp_Deploy Location Based Deployment In a default Jetty installation, the directory $JETTY_HOME/webapps is scanned at startup for web applications to be deployed. So to deploy your web ...


1

The CSV should be: ID,AssetID,SampleTime,Lat,Lon,Value 1,1,2015-01-01T10:00:00,10.00,62.00,15.2 2,1,2015-01-01T11:00:00,10.10,62.11,30.25 Written like you have it, there is an extra double quote that might make the parser think you have an attribute named ,Lon,Value (although it would be better if the code just threw an exception at the un-closed double ...


1

Based on the documentation it appears your query would be written as: [name LIKE '%police%'] It doesn't appear that you can change the wildcard characters based on this: Patterns use _ to indicate a single unspecified character and % to indicate an unknown number of unspecified characters.


1

The CSS plugin does a CSS to SLD conversion, the opposite is not always possible as long as CSS cascading is enabled. On the current developer series (GeoServer 2.9.x) we have a directive to disable cascading, e.g., @mode "Simple"; at the top of the file, that would allow one to write a SLD -> CSS translator... but it's not there yet. Contributions ...


1

I had to change the catalog mode to mixed! The issue had nothing to do with the dispatcher servlet mapping. The "no handler mapping found" warning still exists but everything works like before.


1

We have almost exactly this same problem, same versions of everything except our SDE has been upgraded using the scripts from ArcGIS Pro 1.1, and I have tried using, alternately, the .jar file jpe_sdk.jar from 10.1 as well as 10.2.2, which is called jpe_10.2_sdk.jar. I can't seem to find that file in the 10.3.1 ArcGIS Server install, which indicates to me ...


1

The quick answer to the question is yes it is possible. You will need to construct an external SLD file, and store it on your server, then you will need to send a GetMap request that references that SLD in your request. So here for example is a GetMap request to a GeoServer WMS (generated through a web client using OpenLayers) GetMap to a GeoServer WMS ...



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