Tag Info

Hot answers tagged

10

It isn't necessary to learn OpenLayers or Leaflet when you just want to use GeoServer. However, I have a single advice for you: because you already have a working GeoServer, do yourself a favor and go to https://github.com/boundlessgeo/suite/tree/master/geoexplorer. Follow those instructions, build a geoexplorer.war and deploy it to your servlet container. ...


6

The table gt_pk_metadata is an optional table that GeoTools (and GeoServer) use to work out what the primary key columns in a view are. It is needed to generate consistent feature IDs (FIDS) otherwise GeoTools will use the feature's java ID which will change from run to run. It is explained in this document. So you can ignore this error if you don't care ...


6

If you don't want people to download your data, use the security subsystem or disable the WFS services, the preview is just building links to standard OGC calls. But if you really just want to remove it, you can remove it for everybody (including the admin) by taking out the geoserver demo jar in geoserver/web-inf/lib


6

Okay, let's rock these features out of the DragBox! There are three options I have found to extract those features from the extent of the DragBox. Considerations and assumptions: I couldn't extract the layer types (raster or vector) from the map.getLayers() object, so let's assume that we stored the feature layers in individual global variables. The ...


5

Check out the Geoserver REST API and the python wrapper gsconfig for the REST API.


4

OpenLayers And GeoServer are two distinct softwares, used for different purposes. Geoserver is a Server Software, which serves out Geospatial Data, via OGC services. OpenLayers is JavaScript Library which can be used to make web applications that (Amongst other things) can consume OGC services. It just so happens, that when Geoserver wants to use ...


4

Instead of creating a KML file then using that to access Google Earth, you can instead add your GeoServer WMS directly as an overlay as below: From the menu select Add, select Image Overlay, give the overlay a name select the Refresh tab select WMS Parameters select the Add button next to 'WMS Server:' drop down Add the URL to your service (without ...


4

QGIS has a OpenGeo Explorer (for GeoServer) plug-in that you can create new SLD styles based on your feature symbology, then push to your server. You may also use uDig web GIS app. to pull in PostGIS layers, then copy out the .xml sld text which you may paste within GeoServer SLD styling editor.


4

Your problem is related to Geoserver issue https://jira.codehaus.org/browse/GEOS-5228. See also discussion http://comments.gmane.org/gmane.comp.gis.geoserver.user/39166. I understood that you want to get feature info only when user has zoomed in so much that points are not stacked together but a symbol marks exactly one point in the original data. In that ...


4

You can only use a x,y (i,j) coordinate search for GetFeatureInfo requests http://docs.geoserver.org/stable/en/user/services/wms/reference.html#getfeatureinfo However, you may test for interactions with polygons (and many other geometries) using a Web Feature Service (WFS) request. E.g. ...


4

If the raster is in PostGIS, using ST_Value this would be handy (from this similar question): SELECT ST_Value(rast, geom) val FROM yourrastertabe, yourpointtable WHERE ST_Intersects(rast, geom) This would require you convert the linestring to points, insert into an array or table, and then run the intersection. Stream the results to a file and then back ...


4

You can change the password via the web interface by going to the Users,Groups, and Roles link: Once there, go to the Users/Groups tab and select the user which you want to edit You can then change the passwords or any other details you need to change.


4

So the environment variable you're setting is a "User Variable". It applies only to the user you're editing it as. You need to edit the environment for at least the user that your geoserver is running as. See http://technet.microsoft.com/en-au/library/cc772047.aspx for how to set an environment variable using GPOs. Probably the easiest way is to just make ...


4

It is also possible to set a master password for GeoServer. This password serves two purposes: Protect access to the keystore Protect access to the GeoServer Root account By default, the master password is generated and stored in a file named security/masterpw.info using plain text. When upgrading from an existing GeoServer data directory (versions 2.1.x ...


3

CartoDB is one way of doing this. You can supply a client side query that returns your results. There is a hosted version, or you can install it on a server yourself: https://github.com/CartoDB/cartodb


3

Open the page http://you.server/geoserver/web/ There it should say something like: "This GeoServer instance is running version x.x.x." If your question was how to do it programmatically, most languages has a way to send a http-request and interpret the response to locate a string like "This GeoServer instance is running version x.x.x"


3

You could try setting up a cron job if you are running on a Linux system.


3

This is a complete working method to seed tiles automatically with GeoWebCache: 1) Go to http://curl.haxx.se/dlwiz/, select your Operating System, and then download and install the cURL utility. 2) Then, with the help of cURL you can initiate a seeding task: curl -v -u USERNAME:PASSWORD -XPOST -H "Content-type: text/xml" -d ...


3

Your problem is that you have added your data using Postgres data type Point, http://www.postgresql.org/docs/9.3/static/datatype-geometric.html Rather than the PostGIS geometry, or Geography type http://postgis.net/docs/reference.html#PostGIS_Types GeoServer has a PostGIS Data Store connector, rather than a Postgres Data Store connector. Good Luck


3

You should specify which JBoss version; for JBoss 7, check this thread in jboss community forum In few words: 1. Add wo geoserver.war/WEB-INF the following xml jboss-classloading.xml <classloading xmlns="urn:jboss:classloading:1.0" name="geoserver.war" domain="GeoServerDomain" export-all="NON_EMPTY" import-all="true"> ...


3

At a glance it seems your calling this function: evt.getCoordinate() var coordinate = evt.getCoordinate(); But to actually get the coordinates you should use this line instead var coordinate = evt.coordinate; Hope this helps


3

In GeoServer you can specify a start and an end date column, see the documentation at http://docs.geoserver.org/latest/en/user/webadmin/data/layers.html#edit-dimensions. All you need is two date columns i.e. two columns with date datatype in your database.


3

OSM tiles are in EPSG:3857 (also known as EPSG:900913) projection while your Geoserver is sending vectors in EPSG:4326. You must make them match. See this OpenLayers example http://openlayers.org/dev/examples/wfs-reprojection.js and why not this also http://openlayers.org/dev/examples/geojson-reprojected.html


3

A openlayers wms layer has 4 parameters name (string), url (string), getMap params (everything inside first {}), options params (everything inside second{}) numZoomLevels is openlayers options parameter not wms getmap parameter. so it should be with the isBaseLayer option.


3

Step-by-step for GeoServer. Note: As @michal-mackiewicz writes, the WPS extension for GeoServer must be installed. Acquire some point data, for example Natural Earth populated places http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip Import data into Postgis for example with ogr2ogr ogr2ogr ...


3

Tomcat and Geoserver need write permissions. You need to give tomcat7 ownership of /opt/gwc


3

The solution I would recommend is the OpenGeo suite Downloadable from here. There is a free version and various paid support levels. It contains everything you have listed above with the exception of GeoNetwork, also works with QGIS (via a plugin) providing a solid Opensource stack. GeoNetwork could always be setup after the fact to seed from your Geoserver ...


3

Same question received an answer from geoserver-users mailing list http://thread.gmane.org/gmane.comp.gis.geoserver.user/43129/focus=43205 The advice was to search for available featuretypes with REST as in the example curl -v -u admin:geoserver -XGET -H "Accept: text/xml" http:// ...


3

Just set up GWC on a machine and point it to the loadbalancer that controls access to your GeoServers. Then each tile request will be sent to the next available GeoServer in exactly the same way as your users are currently. You should probably read this series of posts before going much further.


3

See this GeoServer ticket and others which are referred in it http://jira.codehaus.org/browse/GEOS-2935. Support for compound curves etc. is a brand new feature in GeoServer and for the first time available in version 2.6-RC1. Great news it that you can test it immediately and perhaps send feedback to geoserver-users list before GeoServer 2.6 will be ...



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