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

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


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


15

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


15

Newer versions of OpenLayers (post 2.11) should use CSS classes for this. .olImageLoadError { /* when OL encounters a 404, don't display the pink image */ display: none !important; }


15

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


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

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


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


13

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


13

You should try using WMS GetFeatureInfo. Here's an example with Leaflet made available Bryan McBride. The event used for triggering the GetFeatureInfo request is onclick.


13

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

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

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


11

You can create a workspace, datastore and layer (coveragestore) for a GeoTiff with curl and xml from outside the UI like so: Create the workspace. curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml' \ -d '<workspace><name>wsgeotiff</name></workspace>' \ http://localhost:8080/geoserver/rest/workspaces Then ...


11

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


11

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


11

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

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


10

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


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


9

I would say this all boils down to what you have expertise in setting up and supporting. Since it runs in the application server of your choice there shouldn't be any difference with the app itself.


9

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


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

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


9

I recommend working through lessons 7 & 8 of my Web Mapping Course. Lesson 8 will answer your question about building a client using OpenLayers.


9

I would go with GeoServer It's the easiest to setup yet very powerful and completely OGC compliant. Lots of documentation and a very active user community... join user list serv.


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



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