Tag Info

Hot answers tagged

3

You'll need to enable Transactional in the global WFS settings in the Services section of the side menu. Be careful with the workspace-specific service settings because they don't usually do what people think they do. Those settings only come into effect when you use the virtual endpoints such as http://localhost:8080/geoserver/myworkspace/wfs, but they have ...


3

Stackexchange is not the best place to discuss issues (works better for questions), please report on the geoserver-users mailing list.


2

You try to edit the schema of already published shapefile layer and add new attributes into the schema. That is not supported from the admin utility and I cannot recommend any reasonable workaround either. As written in http://docs.geoserver.org/stable/en/user/services/wfs/schemamapping.html, The GeoServer WFS supports a limited amount of schema output ...


2

You should say: myattr1=x and myattr2=y see the ECQL spec for the full syntax reference.


2

Esri has announced for the next ArcGIS-server version (10.3.1) support of SOI (server object interceptor). You find some informations about it in this pdf: http://proceedings.esri.com/library/userconf/proc14/tech-workshops/tw_689.pdf You can also check this video which includes complete explications and a demo of a watermark example: ...


2

That site looks like it has been built using the web mapping application builder software called Weave by Cohga: Weave is a business integration framework for rapidly combining disparate information systems in an easy to use environment. It is based on Open Systems technology and is independent from vendor-specific technology and proprietary ...


2

If you style your polygon with a point symbolizer it will be displayed by a point. So all you need is two symbolizers (one point, one polygon) in a pair of rules with scale constraints on them. EDIT: Here's a simple SLD example: <FeatureTypeStyle> <Rule> <MaxScaleDenominator>500000</MaxScaleDenominator> ...


2

I'm not aware of a point/polygon geometry so you will have to publish two layers. I've done this same effect before adding the two different layers into a layer group and using min/max zoom level scales on each sld file so when zoomed in you see the polygon layer and when zoomed out only the centroid points show.


2

I have used WFS-T through GeoServer to edit data on a MS SQL server before. It was through a Leaflet.js plugin, not through QGIS, but my experience should at least confirm that it works. I remember that there were some field types that GeoServer couldn't edit though, including UUID fields and possibly some types of Geometry (maybe it was Geography or ...


2

The easy way I use to set up styling is to load your dataset in QGIS and style it with that. Use only simple style features like colour and width and do it on a single attribute. The save that QGIS style as SLD, and copy paste that XML into GeoServer's style dialog. Trouble shoot that a bit to make sure it all came through, and you're good to go! You do ...


2

You can use both options. For Option a) you don't need to create a specific SLD providing the image is RGB. GeoServer will pick the channels automatically, if you do indicate them separately you might cause unnecessary processing. Option b) requires less processing and should work fine but it might be slightly slower since you will do the transcoding from ...


1

You need to edit the config file (see http://geowebcache.org/docs/current/configuration/layers/howto.html#how-to-configure-layers for details of where that is), you then need to find the wmsLayers section of the document and within that there should be a gwc:WmsUrl element that you can change.


1

Found it thanks to iant's comment... http://localhost:8080/geoserver/rest/about/manifest.xml?manifest=gs-gdal-.*


1

I think you are mixing up a couple of things. When you install Geoserver, it comes with a lite distribution of OpenLayers. That is used to preview the data once you publish some. But this functionality is only suitable for previewing, and not as a production front-end. If you want a Production quality front end, you need to develop that yourself. You can ...


1

This will not work because of the same origin policy. Use a relative url (ProxyPass) or JSONP instead. Also check out the vector-wfs example in OpenLayers 3 (but this uses a BBOX strategy). Also note that ol.source.GeoJSON will be removed with version 3.5.0 and you should use ol.source.Vector with a format instead.


1

How about you change it in your WFS connection? Set that up in QGIS, I think it will work if you just go http://webaddress/geoserver/wfs?


1

You are asking GeoServer to pull all of the vector data needed to draw the map (which could be a lot) over a slow network for every tile it draws. This is unlikely to ever be fast enough to be useable. If this was me I would set up a system something like: DBServer GeoServer GeoWebCache Network cascading GeoServer GeoWebCache Users To avoid sending ...


1

The OpenLayers demo requests a single tile so there's no tiling issues to work around. When individual tiles are requested, as in the case by Leaflet.js, GeoServer renders each tile individually without knowing about the other surrounding tiles. This is most often run into when labels show up for a large feature once in each tile, but your symptoms looks ...


1

Unfortunately, I have not found a method for creating SLD files in ArcMap for GeoServer use. There are some alternative app. options: Udig QGIS GeoExplorer GeoServer admin SLD editor


1

Did you enabled geoserver JSONP settings in web.xml /geoserver/WEB-INF/web.xml contains settings like this: <context-param> <param-name>ENABLE_JSONP</param-name> <param-value>true</param-value> </context-param> You should change ENABLE_JSONP as true


1

This problem was caused by not correctly uploading shapefiles into a MS SQL database with the SharpGIS Shape2SQL tool. The Shape2SQL tool sets a constraint on the STSrid property of the geometry field (geom.STSrid) when it creates a database table. If you look at a table created by Shape2SQL in Microsoft SQL Server Manager, you will see a constraint called ...


1

ESRI has a help article on adding a watermark to a map service. If you have a web app that consumes the service you could easily add a watermark to the app. Here is an example of doing that with the JavaScript API.


1

Here is what I do: In your GeoServer content.ftl file (explained here FTL), add a hidden list item like this: <li style="display:none";>popup</li> You can change the key word 'popup' to anything you like. You will be searching for this word in you popup javascript. This word will only appear in the getFeatureInfo request if there is a feature ...


1

You can switch to infoformat=application/json so you will get a json response from Geoserver. Then just check how many features are returned and if features.length>0 is true show the popup otherwise not. For this solution you will have to create a table from the json-response. You could do something like that: set infoformat in your ...



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