Tag Info

Hot answers tagged

16

The simple answer is that you don't need them, but it makes life much easier. You have to have some sort of server element between your database and the web browser: so you can either write your own server in PhP (or java or whatever) and handle all the vagaries of the database you are using and sort out the wire transfer formats etc and do the debugging and ...


16

You can try these: Altas Styler Udig Kosmo or OpenJump And Qgis either natively or with the help of the SLD plugin


16

Update The 'hack' given below is necessary only for Geoserver versions 2.2.x and below. With version 2.3.0 and upwards, Geoserver can return JSON for WMS GetFeatureInfo request natively. End of Update There is an open feature request for this on geoserver's bug tracker. Using custom GetFeatureInfo Templates, it is possible to generate a Json response ...


15

ESRI Personally, I would steer clear of the ESRI stuff. I'm working with ESRI Geodatabases and find the restrictions perplexing and restrictive. The Enterprise offering may be different, but I choose not to hold my breath. (This is a biased opinion, and I'm suggesting you do some research and make your own decision here. I have little experience with ...


14

GEE really is a visualization platform, not a enterprise GIS. With a true GIS you also have the need/ability to create data and do more complex analysis with it aside from draping it over a globe. I have worked with systems where GEE was a compliment to our ESRI systems; so we didn't use ArcGIS Explorer to view the data, the users used Google Earth. You can ...


14

First of all, I think you should read the Geoserver documentation on Security. http://docs.geoserver.org/stable/en/user/security you will discover it is possible to make layers accessible/inaccessible to different users or roles. Another possible solution would be to make geoserver inaccessible from the outside world (close port 8080 on your server for IP's ...


14

Take a look at my answer on this post. Make sure your featureNS value is in the "Edit Workspace Page under Namespace URI" in your GEOSERVER. Do not use something as generic as "http://postgis.org". Use something like "http://yourdomain/application/catalogLayer" or something unique like that. You can make this URI up, just make it unique. You ...


13

I just deleted one of my Amazon EC2 instances where I had GeoServer running on it. You can spin up a micro instance for 2 or 3 cents / hour depending on linux/windows. But I only use them to play, I couldn't comment on using them in a production environment (you would probably have to use a larger instance which costs more per hour). If you are just ...


12

Arc2Earth The Community Edition can only export single layers, you'll need to upgrade to Pro if you want create a single SLD file for your entire Map. After your selection, click on the Export button and you will be asked for a location to export to. http://help.arc2earth.com/help/faqs/arc2earth-desktop/export-map-symbols-to-styled-layer-descriptor-sld


12

I think you should glance at Cartaro - Geospatial CMS which consists of all the tech. you use... I haven't used it but it looks like it was developed for gisCMS. The main features of Cartaro are: (from its site) Spatial data storage with true geometry data types Creation of data types from within the Drupal GUI Integrated online editing of ...


12

Its actually relatively straight forward to get working. If you are able to see the web admin interface then you have installed the self-contained version of GeoServer which as Imp points out runs using the Jetty servlet container. The trick to exposing GeoServer through IIS 7 lies in the use of Application Request Routing (ARR). With ARR it is possible to ...


12

The reasons why it is so slow is you retrieve megabytes of data doing your WFS request. To confirm, open Firebug (Firefox addon debugger) or Chrome and look into Net(work) panel. You will see it's too huge. This data takes time to be process (your "page is unresponsive" syndrom) browser capabilities: you never display more than one thousand of feature in ...


11

There are many things you can do with the GeoServer REST API that are not specifically documented and that there are not code examples for. Here's the strategy for tackling those. First, start with the examples in the documentation. Make sure you are familiar with how you can create a simple new layer or workspace using an HTTP POST with either XML or JSON. ...


10

You need to tile the image and add overviews so that the whole image is never read into memory at the same time. GeoServer provides an image pyramid datastore for this purpose. I wrote these notes describing how I set this up on my machine. The key step is to use GDAL to build the pyramid using the following command: mkdir bmpyramid gdal_retile.py -v -r ...


10

100-200 users a day are (normally) nothing, a notebook can take that kind of load if the map is not complex. General guidelines: get enough memory (at least 8GB) but don't give it all to GeoServer use Intel CPUs, not AMDs, as JAI native extensions work faster on Intel try to get two servers and set them up in cluster for high availability (2 quad core ...


10

you can find very detailed information about Jetty and Apache httpd (from http://wiki.eclipse.org/). i think you should decide what you want from a web server more precisely according to the expectations. Apache httpd is a HTTP server written in C, that is often used to front other web services. Jetty is a full functional and optimized HTTP server ...


10

I got some help on the GeoServer users list. Add to this file: /tomcat/webapps/geoserver/WEB-INF/web.xml <context-param> <param-name>ENABLE_JSONP</param-name> <param-value>true</param-value> </context-param> and restart the service. Then, in your json request use format=text/javascript Here's the code I used ...


9

There is probably no answer to such a question. Using or not using geoExt depends of your needs. For a couple of projects I would rather advice you to simply use openlayers + jQuery. If your projects are more complexes, geoExt can be a great library and you probably should have a look on Mapfish project as well, since it also embeds ExtJS. Since mapfish is ...


9

WorldImage is for accessing regular images that have a world file associated with them. ImageMosaic is for serving up multiple raster files (usually organized into tiles) as a single layer. And ImagePyramid is essentially a multi level mosaic in which higher levels are generalized versions of lower levels. Usually people don't serve up world images ...


9

As both Paul and jvangeld have said, .rrd and .aux files are usually (but not necessarily) associated with .img files. To find out which format you have, just look at the directory contents and the images are usually the largest files. For performance gains at the file-level, GeoTIFFs with overviews (reduced versions of the main image) and tiles is a pretty ...


9

In the definition of the WMS layer in your OpenLayers JavaScript code, you can specify the parameter bgcolor. This will eventually add the BGCOLOR parameter to the URL to the WMS service as explained already. For example: var osm = new OpenLayers.Layer.WMS( "OpenStreetMap", url, { width: '600', height: '400', srs: ...


9

The trick of using the "myData" parameter should be unnessesarry, as we see in the OpenLayers.Layer.HTTPRequest (which the WMS layer inherits from): redraw: function(force) { if (force) { return this.mergeNewParams({"_olSalt": Math.random()}); } else { return OpenLayers.Layer.prototype.redraw.apply(this, []); } }, if you do ...


9

PostGIS. Geoserver documentation has the following comment: "Shapefiles are a very common format for geospatial data. But if you are running GeoServer in a production environment, it is better to use a spatial database such as PostGIS. This is essential if doing transactions (WFS-T). Most spatial databases provide shapefile conversion tools. Although there ...


9

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


8

Personally I'd go with Linux over Windows for a server, some of that is experience on my part. But it is also things like being able to ssh to the Linux box from home to do late night reboots, log file checks etc. I also find that Linux boxes are more stable than Windows boxes (no annoyingly "urgent" reboots for updates etc).


8

It really depends on the size of the datasets you are talking about and the complexity of your queries. I for example run pretty happily on a GoGrid server /PostGIS / Windows 2008 (32-bit) running IIS, a mix of PHP/.NET homegrown webservices with 2GIG ram/ dual core. The main spatial table I query has about 6 million records I think of mostly California ...


8

As based on my experience, I would recommend GeoServer, however i agree that it not 100% satisfy all the listed requirements as others too. * fast It much faster and accepted in many production high traffic solutions. In my production GIS site heavly used and still no issues found on response time/performance on GeoServer. * easy scalability ...


8

It sounds like you want to store the vectors in the browser, and query them client side. To do that, you'll need to use WFS. One caveat, though, is that browsers have limitations on how many vectors they can display at one time. If you're dealing with large or complicated data sets, it may be that your only option will be to use WMS. That would be more ...


8

which layer do you want, i dont understand? but getting all layer: map.layers getting all layer name: var mLayers = map.layers; for(var a = 0; a < mLayers.length; a++ ){ alert(mLayers[a].name) }; getting last added layer name: map.layers.getLast().name and beside this you can use all this method too: 1.map.getLayer() 2.map.getLayerIndex() ...


8

You need a proxy if you are making an AJAX request to a machine and/or port that is different from the one that your webpage was served from. So in both your examples above you will need a proxy (on the server that is serving the webpage) if you want to make WMS getfeatureinfo requests or any sort of WFS request. However you do not need a proxy for simple ...



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