Tag Info

Hot answers tagged

3

Definitely that's not an obvious way of loading a WMS. This is what have worked for me (QGIS v.2.8.1): urlWithParams = "url=http://maps.itu.edu.tr:8082/geoserver/sf/wms&format=image/png&layers=sfdem&styles=&crs=EPSG:26713" rlayer = QgsRasterLayer(urlWithParams, 'DEM', 'wms') rlayer.isValid() # Returns True this time ...


2

Graphic cards of significant size are generally not required for 2-dimensional GIS. Once you start visualizing 3D-stuff it becomes useful, but that doesn't appear to be your use. The non-requirement of the graphic card is further underlined when establishing a back-office setup like yours. While I am by no means an expert on Mapbender3, I don't think that ...


2

I figured it out with the prompt from user30184. Nulls are indeed ignored and must be explicitly included in the CSS or SLD filter, something I should have expected... but didn't for some reason (lack of caffeine?). So my CSS snippet becomes: /* buildings */ [aeroway <> 'terminal'],[aeroway is Null]{ fill: #aa1111; } This has been tested and ...


2

Use the GeoServer SQL view feature, and SQL's ST_Project like, SELECT id, ST_SetSRID(ST_MakeLine( ST_MakePoint(lon,lat), ST_Project( ST_SetSRID(ST_MakePoint(lon,lat),4326)::geography, distance, pi()*azimuth/180.0)::geometry ),4326) AS geom FROM mytable; If you have long lines and want to plot them as great circles on a ...


1

You have probably hit a side effect of heavy work what was done with GeoServer GetFeatureInfo to return info from what is exactly rendered on the map. With the style used in your map there is nothing rendered between the markers. You can have a try by adding a buffer vender parameter into your GetFeatureInfo request. The default value is 3, try to add ...


1

To get two labels you will need two textSymbolizers one for the start point and one for the end point. So it becomes: <TextSymbolizer> <Geometry> <ogc:Function name="endPoint"> <ogc:PropertyName>the_geom</ogc:PropertyName> </ogc:Function> </Geometry> <LabelPlacement> ...


1

This is caused by the WKT and GML standards using a different convention for separating pair of points and each coordinate of a point. GML uses comma to separate coordinates and space to separate pairs, eg, 52.52735668,12.71762844 52.52633816,12.71518035 whereas WKT uses the opposite, eg, 52.52735668 12.71762844, 52.52633816 12.71518035 You have a ...


1

Well, you can use the geoserver curl interface to add the layers that you want. You can write simple commands to run against that, targeting your server. If it's a shapefile, upload it to the place where you want (possibily the same server as GeoServer) and use cURL. After that, you can use management command in geonode called updatelayers. It pools ...


1

You may use geoconfig python module: gsconfig is a python library for manipulating a GeoServer instance via the GeoServer RESTConfig API. Documentation Here is a similar Q/A that may help too: Python Geoserver gsconfig create resource from Postgis store table


1

Like Mikkel said, you do not need any kind of advanced graphics card. Tools that run on dedicated servers rarely even use them at all. Instead I would suggest investing in an SSD. For ~350$ (price of the graphics card) you can get a great one. This will make accessing the imagery very fast and is probably be the biggest performance impact you can have.


1

We have implemented WFST plugin here: https://github.com/Flexberry/Leaflet-WFST It supports reading GML and GeoJSON data, and can send transaction requests (insert, update, delete).


1

I was able to figure it out. I had to create a custom project and add it to geoserver. At first, I was trying to find pre-defined projection thinking they were complicated to add to the system but it was much easier than what I though. I took a previously defined user projection in geoserver and just copied and pasted parts of the projection of the layer to ...


1

You will not get lucky with predefined EPSG codes, because these are not defined for all local CRS in the world. gdalsrsinfo on the WKT definition returns: +proj=lcc +lat_1=0 +lat_2=0 +lat_0=46.66964837722222 +lon_0=-91.15277777777777 +x_0=228600.4575057151 +y_0=148551.4835661671 +ellps=GRS80 +units=us-ft +no_defs So you have to create a custom CRS to ...


1

You can check the code out of the repository and do pretty much anything you like with it. You might also want to look at the GeoTools code that underlies much of the GeoServer code. GeoServer code is licensed under the GPL - so there are some restrictions on what you can do with it, mostly related to releasing programs without releasing your changes to ...


1

I guess that your "workspace:layername" combination does not exist. If you open the OpenLayers Preview in Geoserver you will see the layername as a part of the URL like in this example "nurc:ArcSample": ...



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