Tag Info

Hot answers tagged

13

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


9

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


9

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


8

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


7

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


7

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


7

Since I am building something somewhat similar right now, I am going to tell you how I am doing it and you can choose to change whatever you want from it for another piece. Django (with GeoDjango) is pretty good for this as a basic framework for python (again, if that is your thing, you could do this in another language). My approach for user-level edits ...


7

If using the Web Archive: download the war file and deploy it, then login and make all customizations (remove layers, adjust defaults, etc) until it suits you. Now shutdown the servlet container, zip the geoserver directory and rename the resulting geoserver.zip as .war and you're done. A .war file in fact is just a .zip file in disguise. IMPORTANT: ...


7

You can use a standalone SLD editor like AtlasStyler SLD Editor. You can style your shape file there, export the SLD and then import it to Geoserver.


6

according to me it cant dissapear. the feature has changed due to the changes in the natural projection. Naturally, the feature might be located to 0,0. if you want to see your feature: map.zoomToExtent(vectorLayer.getDataExtent()); and still you can get your feature as, vectorLayer.features[0] i hope it helps you...


6

Map scale is defined as a ratio of displayed units / measured units. Your specific case is a bit harder given that we have to traverse through two scales and two different units in order to arrive at the real world units. Assuming horizontal scale is equivalent to vertical scale, we first look at the horizontal pixel resolution. By this we're attempting ...


6

Go through the following questions. GIS for the web Steps to Start Web Mapping Web GIS Development Skill Sets


6

According to this thread at the GeoExt mailing list: Re: [Users] Printing google maps using geoext and geoserver Andreas Hocevar Mon, 23 Jan 2012 04:37:31 -0800 Hi, the GMaps API Terms of Use don't allow you to print. If you only want to print the map background, click on the Google logo in your map to view the same extent in Google Maps, ...


6

I have written a tutorial on exactly this problem that you may find helpful. Basically it boils down to using gdal_translate, gdal_merge and gdal_retile so you will need to have installed GDAL. Either use apt-get install gdal or the osgeo4w installer


6

I wrote up my notes on how to do this on a Linux box (but the process is similar on a windows machine). Specifically you need to have Apache redirect the requests to the tomcat at localhost:8080 - you need to edit a couple of files.


6

In general - no. Webserver's are only dedicated to run webserver services on a certain port, e.g. offering HTML-content or processing simple PHP- or JS-Scripts. GeoServer is software which wants to be installed and maintained. It's like an own service in a server environment... Of course, you could always ask your hoster via support if setting up services ...


5

You need to specify a min/max scale denominator in your SLD files. Use the same figure in each style, that is the max in one is the min in the other, so that only one layer is drawn at any scale. Then combine the layers in a layer group and away you go. See http://docs.geoserver.org/latest/en/user/styling/sld-reference/rules.html for more details on the ...


5

I'm using an stack similar to Ragi's I'm near the alpha version of my application and at this point it seems that the choices where right. Here is my solution: At the server: Ubuntu server + apache web server + apache tomcat. Postgresql + postgis as database. Geoserver, (in my case I use it only for rasters). Django Framework + Tastypie. Tastypie ...


5

A partial answer: I'm not a Geoserver user, but I have built a spatial-driven, non-Esri web app (ASP.NET) using the native geometry stored in an actual SDE featureclass (SQL Server 2008). As long as it isn't versioned (or it is versioned and you accept whatever lag exists for your edits to be moved to base), it should be no problem. My app was spatially ...


5

I assume from your question that you are generating an SLD file and then copying it to the style directory in GeoServer. As you have seen, that approach won't work because I believe the style also needs to be registered as a catalogue item in GeoServer - if you look in the style folder you will see companion XML files with the SLD files. The best way to ...


5

You should be able to achieve this using a either Data/Layer or Service level security rules (they cannot be combined). See http://docs.geoserver.org/2.1.4/user/security/index.html for exact details, but something like this in layer permissions: WorkspaceA.*.r=* WorkspaceB.*.w=* I haven't tried this out, so I'm afraid I can't tell whether GetCapabilities ...


5

I had a similar problem few weeks ago . I resolved it this way: creating pyramids rasters image (all rasters had got pyramids depends on standard scale rate in my project creating tiles from raster (mosaic) putting all files to postgis (by WKTRaster) By this way you get MRDB (multi-resolution data base) which is the most effective way of serving a large ...


5

I ran an experiment with a TIFF file and an ECW. Started with a 1.2 GB ECW, and converted it to TIFF with compression and pyramids, it was ~1.5 GB. So I think that a TIFF can be a similar size to an ECW. I would mosaic the image using GDAL, ensuring that compression is on. Then build pyramids, and if the resulting file is reasonable (less than 10 GB, I ...


5

I would choose the first option, writing the SLD files. In the SLD Cookbook there are already many examples or 'recipes'. I guess that you will find an example (recipe) that will match your needs after some customization; thus, you will not have to write your SLD files from scratch.


5

beside @dariapra's answer, there is really good documentation here about OpenLayers WFS-T Using a GeoServer Hosted PostGIS Layer which you should check out. i hope it helps you...


5

Two options come to mind Stick with Geoserver and export the styles from QGIS as SLDs. SLD is supported by both QGIS and Geoserver. Use QGIS Server instead of Geoserver and publish your QGIS Desktop project directly. If I understand you correctly, you already converted all styles from Mapinfo to QGIS. Otherwise you could have tried Nathan's Mapinfo to ...


5

Check http://tilecache.org/ TileCache provides a Python-based WMS-C/TMS server, with pluggable caching mechanisms and rendering backends. I And http://geowebcache.org/ GeoWebCache is a Java web application used to cache map tiles coming from a variety of sources such as OGC Web Map Service (WMS). It implements various service interfaces (such as WMS-C, ...


5

You can use both MapServer and GeoServer. I prefer MapServer, but that is more because I know more functionalities of MapServer. Extensive information can be found for both. MapServer does not include creating a tile cache. For that you can use for instance MapProxy


5

Geoserver layers have associated styles. These styles are written in Styled Layer Descriptor (SLD), a subset of XML. To change your styles, you'll have to edit the SLD. In Geoserver, the SLD can be edited using the Style Editor in the Styles Page. Pretty ain't it? Fortunately, you don't have to edit the Styles by hand. A workaround is to use a GIS ...


4

Looking at the data file you have posted, I can see right away that your assumption is incorrect. You can't just assume you have the right coordinate system, you have to know what your system is. You can get this from running gdalinfo, as you mentioned. That gives us: Driver: GRIB/GRIdded Binary (.grb) Files: /tmp/ruc2.t00z.bgrb13anl.grib2 Size is 451, ...



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