Tag Info

New answers tagged

0

GeoServer supports neither, there is a discussion ongoing on how to implement support for HSTORE here: http://osgeo-org.1560.x6.nabble.com/Re-Geoserver-Question-about-PostgreSQL-and-JSON-or-HStore-td5218145.html Supporting JSON columns would be quite a bit more complicated.


0

You're running into the same origin policy (https://en.wikipedia.org/wiki/Same-origin_policy)


0

The problem actually only exists in the standalone installable version of geoserver. Deploying the war on tomcat and installing the libs gives no problems.


0

You have updated params before you'd defined the SLD variable. wms_p_popf.updateParams({STYLES: undefined, SLD_BODY: SLD}); var SLD = ...


0

For a remote SLD to be applied to a Layer you must make sure that the <Name> in the <NamedLayer> is the same as the name of the layer you are styling. So in your case pack_geomarketing_iris13_region doesn't match DatashinePBS:PopF so nothing is drawn. You might also want to check in GeoServer that the SLD is in fact valid (as GeoServer doesn't ...


0

In addition to Samuel's answer, I searched for a good while until I found it in: /usr/share/tomcat7-admin/manager/WEB-INF/web.xml A bit different path, might help.


0

Test WMS <link rel="stylesheet" href: "http://openlayers.org/en/v3.0.0/css/ol.css" type="text/css" /> <!-- <link rel="stylesheet" href: "C:/ol3_samples/assests/css/samples.css" type="text/css" /> --> http://openlayers.org/en/v3.0.0/build/ol.js" > var wms_source = new ol.source.TileWMS({ url: ...


2

Use QGIS and save your layer style as *.sld file. After this, load your *.sld file to the GeoServer and connect your .shp to the right style. you can also use multiply styles for one .shp.


1

You should be able to use the mul function (see Filter Expressions). So something like: <rotation> <mul> <literal>${obj_orientation}</literal> <literal>0.9</literal> </mul> </rotation>


0

The filter and query look correct. It appears you've encountered a bug in the QGIS software. I've reproduced this bug on a newer version also, and reported it to QGIS on their issue tracker: http://hub.qgis.org/issues/13065; you are welcome to post on that page to confirm you experience the bug as well.


1

Another option can be using User-friendly Desktop Internet GIS (uDig) which is JAVA based. I tested this software to create sld for geoserver. Source can be reached at here.


1

I have a project on Github (http://github.com/ianturton/ShapefileViewer) that does SLD generation from shapefile. It's in Java and based on GeoTools if that's any help.


0

Which AMI are you using? I have successfully installed GeoServer using Ubuntu 14.04 with Tomcat7 many times. This tutorial helped me when I was starting out. Installing GeoServer is simple after you get Tomcat and the web interface properly installed. The only other thing you need to do is change tomcat's default file size which is a bit too small for ...


0

Here's a small plugin which achieves this well: https://gist.github.com/rclark/6908938 If you're using a leaflet version greater than 0.7.3, this is another good plugin to do the on click identification within WMS layers: https://github.com/heigeo/leaflet.wms


0

Thanks @iant, you are right, Tomcat 8.0.24 has apparently some issues. I just tested it with Tomcat 8.0.20 and it worked fine. So now I have GeoServer up and running on Tomcat 8.0.22 using Java 8 (Oracle).


1

As far as I checked in code, the feature id (FID) should be put into SVG, but that possiblity is commented out :/ https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/svg/SVGWriter.java private void setUpWriterHandler(SimpleFeatureType featureType, boolean doCollect) throws IOException { if (doCollect) { ...


1

Found this page where someone else had the same problem. Format image/gif does not support opacity. Changing my format to image/png solved the problem.


0

I think you should play around with GeoServer, and you can start with the examples here. It should be easy enough to follow. GeoServer will be doing something that you have less control over, though, and if you want to actually to interpolation, I'd use QGIS, or if you have money, ArcGIS (it does Kriging easily, which is super-fancy mathematically magical ...


0

Geoserver does not get to makeup a projection. The WorldImage uses the projection it is told to use. The key is the statement World files do not specify a coordinate system; this information is generally stored somewhere else. In your case, that 'somewhere else' is in a .prj file. The units in your world file have to match the coordinate system ...


2

A new projection was introduced in GeoServer 2.2 to handle exactly this kind of situation: Better support for un-referenced data with the new EPSG:40400 code that identifies a coordinate system made up of a generic 2D Cartesian plane. Your data will be representated correctly, but it will not be possible to reference it relative to data in another ...


1

This is just a guess, but I assume, its about the distortion inherent to your Projection EPSG:3574 which is extremal because displaying the pole(s). I guess there's only data in your raster layer until around 85°N or something, and you are trying to display data further north. You could try a projection that is "closer" to EPSG:4326 and then also first ...


1

FYI, reproduced and fixed on master and 2.7.x: Fix for 2.7.x You should be able to get a new nightly tomorrow. For the time being I would suggest to download the corresponding netcdf plugin and take the cdm-4.5.5.jar from it.


0

If you have many layers to upload, you should look at the geoserver rest API see here You can also use the opengeo plugin see information However using shapefiles with geoserver isn't the best bet, it would be faster to use a DB (PostGis for instance) here is why !


0

You can create SQL Views directly in GeoServer: See


1

Yes, as @juls says you can use a view to filter by ID (or other unique attribute). But really why would you?


2

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


0

You should consult the online documentation for GeoServer, which has extensive information about the REST interface: GeoServer REST There are also examples in a number of languages: Examples


0

Current GeoServer (2015) supports defining an optional "End Attribute" for time in the Edit Layer/Dimensions tab. Ref: http://docs.geoserver.org/latest/en/user/webadmin/data/layers.html#webadmin-layers-edit-dimensions


1

To produce a rotation of ( the rot variable or 2 ) plus the value of the property mystyle you should use: mark-rotation: [env('rot',2)+mystyle]; To generate SLD that uses rot, followed by mystyle, or 2 you should use something like (and I haven't tested this). If it doesn't work you can check the syntax page: mystyle is null { mark-rotation: ...


0

The WMS spec provides the ability to mark a layer as Opaque or not, this is designed to allow client developers to distinguish base layers (which are, or should be, marked opaque) from overlays which aren't. I'm not sure how common it is for people who set up WMS servers to populate this value - I can't think of a time I ever have. Interestingly this note ...


1

There seems to be a per-layer-authorisation in geoserver which can be implemented out-of-the-box only with a role concept. Here is an approach described to achieve what you want by restricting access to user folders. If you already have a Spring Security module, I could also imagine, you could put it in front of geoserver as a facade and implement your own ...


0

Thinking... A quick suggestion is to disable the embedded broker, use an external one (eventually clustered). This is similar to having the p2p network in terms of functionalities and it is not too difficult to manage. That said, what I believe your configuration is a bit messed up. That said discovery works only with multicast. What you can do if you ...


1

Instead of manually looking up ASCII codes, try URL encoding the string. I don't know much about Curl, but I found a few posts that should help anyone else having this problem. This one deals with Unix/Linux and this one deals with the bash shell. In most languages, you should be able to find a way to URL encode the string and append it to your URL. This ...


2

While typing the question, I found out how to do it. However, sharing is caring ;-) Maybe this will be useful to somebody else one day. For escaping URLs when using cUrl to access the GeoServer REST API, special characters can be replaced with their respective ASCII codes, so that the problematic example above becomes: curl -v -u admin:geoserver -XDELETE ...


0

This is not exactly what you asked for, but it could be a suitable starting point for your heatmap. I created a simple python script for converting geohashes to 3d Google Earth representations. This isn't exactly what you asked for, but if you'd like to create a cool looking thematic map (based on geohash) this will get you started. You can get the code ...


1

I will try to be as clear as possible, but I am not sure I understood everything that your are asking. You might want to edit your post with additional information or a concrete example and the version of Geoserver you are using. Problem 1: you have duplicate labels due to the tiling of your WMS request by OL -> solution: in Open Layer, request a single ...


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.


1

You should read the full documentation before going into production, but the short answer is you change the format parameter of your WMS request to be format=mbtiles. If you need to produce a larger set of tiles then you probably want to explore the WPS mbtiles service.


2

"Normally" the bbox should be: left, bottom, right, top west, south, east, north minX, minY, maxX, maxY so I would try: bbox: [-1050091.8944356, 4675576.582525099, -990623.88643799, 4733515.8499572] PS: there is a nice BBOX-Cheatsheet: https://github.com/perrygeo/bbox-cheatsheet/blob/master/reference.md Even if OpenLayers/Geoserver is missing there I ...


1

Those technologies are going to be fine to setup your base imagery and terrain, but your dynamic data will best served via CZML. You can setup CZML streaming to allow your data to be continually updated and it will allow you to group your objects for a much easier filtering of visible objects. https://github.com/AnalyticalGraphicsInc/cesium/wiki/CZML-Guide ...


1

Zoom-level depending mis-alignments are often caused by the OL client and the server having either slightly different zoom level definitions, or different maximum extent definitions. Try looking at the GWC preview (you can find it in the tile layers menu) and check its setup, then make sure your client does the same.


1

I do not believe there is anything that for sure reveals that WFS server is GeoServer but with standard settings the schema location refers somehow to geoserver and some supported functions are special for GeoServer. However, others can implement functions using same names: ...


3

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


1

INTERSECTS(geom, collectGeometries(queryCollection('topp:states', 'the_geom', 'STATE_ABBR=" + "'" + "'" + 'CA' + "'" + "'" + "')))


0

Finally I used geo-fence, a geoserver plugin for security management. It has a Restful API for adding,managing,ect of users,roles,rules,....


1

You can use Tilemill to create a cartocss style which you can then use with Mapnik (might need to convert to Mapnik XML). GeoServer supports SLD styles which you can create with many GIS tools, for example QGIS or OpenJUMP.



Top 50 recent answers are included