1
vote
0answers
7 views

Vendor parameter <VendorOption name=“labelObstacle”>true</VendorOption> not working?

I am trying to avoid drawing overlapping labels with vendor parameters. I tried below option in different versions of Geoservers (2.2.1 to 2.5.2), its not working. ...
1
vote
1answer
44 views

How to set an x-offset for my whole linestring/layer?

Supposing I have a layer imported from GeoServer succesfully, and it looks like this: (some will remember me from my previous question. And, yes, that is my city Volos, Greece. There is a map and a ...
1
vote
0answers
9 views

how to set default style from particular workspace using gsconfig?

I'm able to set default style for any layer using below code cat = Catalog("http://localhost:8080/geoserver/rest", "admin", "geoserver") layer = cat.get_layer("layer_name") ...
2
votes
1answer
50 views

Problem when trying to style negative values in Geoserver via SLD

I have a PostGIS table that holds (numeric) values from -1 to +1. I would like to style these values in Geoserver so I created an SLD file in QGIS which looks like this: ---snip--- <?xml ...
2
votes
0answers
78 views

Rotation by attribute in Geoserver SLD style

I have a table with field calculated by function: NEW."rotationAngle" := degrees( ST_Azimuth( ST_StartPoint(NEW.the_geom) ...
2
votes
0answers
29 views

GeoServer v2.5.2, webadmin, missing WMS and styles menu

After installing GeoServer v2.5.2 we are missing the Styles and WMS menus. Does anybody seen this, have a clue whats wrong? (The WMS server is working, just the webadmin interface not working.) ...
1
vote
2answers
55 views

How do I black out all polygons except one using Geoserver SLD_BODY= parameter in GetMap URL?

I am trying to use the SLD_BODY= parameter to set a style that will black out all polygons except one; the remaining polygon should be transparent. However, the image comes back with all the polygons ...
0
votes
1answer
77 views

How to get QGIS layers style in a single file

I have layers on my QGIS project. Rivers Water pipes Gas pipes ..... I set the color, width, size of these layers. All layers are different style. I want to use these styles in geoserver. I have ...
0
votes
0answers
16 views

how to get a style of openstreet map [duplicate]

I want to show my layers in geoserver with the same style as openstreet maps...is that possible ?? i ask if there is a .sld file to get my layers look like openstreet maps style Thank you for your ...
1
vote
1answer
869 views

How can I style OSM data in geoserver? [closed]

I've been trying to style OSM data imported using osm2pgsql and served through geoserver. The tables generated by osm2pgsql are: planet_osm_line, planet_osm_point, planet_osm_polygon, apart from the ...
6
votes
2answers
234 views

Is it necessary to master openlayers to use geoserver?

Is it necessary to learn openlayers to use geoserver? Can i completely ignore OpenLayers so long as i master using geoserver to publish data on my website because i understand openlayers is contained ...
0
votes
1answer
836 views

Geoserver SLD Line styling with external graphic instead of WellKnownName

I have problem with styling in geoserver. Using tutorial from http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html#id7 everything is ok but when I want to use ExternalGraphic ...
2
votes
2answers
372 views

Line stroke offset in Geoserver

Does anyone know how to offset a stroke in Geoserver? For example I will color the left side of the street (line feature) red and the other side (same line feature) blue. I believe I will be using 2 ...
0
votes
0answers
139 views

problem of creating complex symbology line in geoserver

I have been trying to creat complex symbology lines (a line alternating dash and a exteranl SVG graphic) in geoserver using SLD, based on documentations from ...
0
votes
0answers
61 views

Geoserver 2.4.0 via the web admin interface, not adding layers in Internet Explorer, but working in Firefox

For some reason I cannot seem to add layers via Internet Explorer, but I can via Firefox 23. In addition the styles that I upload also appear broken in Internet Explorer 8, but do not in Firefox. Is ...
1
vote
0answers
50 views

style manipulation using Google Earth api

I am creating data in QGIS and then serving it using GeoServer and displaying using the Google Earth api. Is there any way to access the styles using a JavaScript api and alter the look and feel of my ...
1
vote
2answers
80 views

SLD layer style colour ranging from x -> y

I am new to web mapping. I would like to create a SLD style that colours the points if they fall between certain numbers for example 0-500. I know I could manually create each colour for each value ...
3
votes
1answer
111 views

Difficult style for the map

There is a task before me of generating images as shown below. The main problem is the signs which must be placed outside the polygon (if they do not fit in it), and the lines should connect the sign ...
-1
votes
1answer
435 views

How to convert 2D Map to Flat map like in google? [duplicate]

My requirement is shown below by maps. Map 1--My Map Map 2--I required I am using GeoServer v2.2(for publishing the map) and OpenLayers v2.11(to display the map). According to my client ...
4
votes
1answer
678 views

Does anyone display OpenStreetMap through MapServer, ArcGIS for Server or Geoserver?

I use Windows OS. The data (OpenStreetMap) are stored in a postgres/postgis database. How do I display this data correctly? Update: Now I use: geoserver-2.3.5.exe, ...
4
votes
0answers
122 views

Is GeoExt styler extension available for Geoserver 2.3.3?

I've switched from my older version of geoserver to geoserver 2.3.3. In the older version, the styler worked just fine, but I could'nt find a styler extension that matched the new version. I tried ...
0
votes
1answer
40 views

Get number of rules in geoserver style using webservice

how can I know the default style for a layer in geoserver, and the number of rules it contains, using a REST call or service? Thank you bye stefano
0
votes
1answer
134 views

I want to change using C# the style of a set of shapefiles once I have uploaded them or while I am uploading them

I am using C# and the WebRequest class to create a worksapce and then another WebRequest to create a datastore and upload a folder full of shapefiles to a geoserver. However, I would also like to ...
1
vote
0answers
114 views

SLD style definition from GeoServer to Drupal

I've been experimenting with the SLD style definitions in both GeoServer and Drupal. What I want to achieve is to create a new style in GeoServer (by a curl operation, but I know how that works) and ...
2
votes
2answers
196 views

Executing Styles based on rule Geoserver

I would like to execute a style based on some parameter passed through WMS Rest request. What I am trying to achieve is, while requesting the tile, I want a particular country to be filled in separate ...
6
votes
3answers
1k views

Openlayers - Cloned features get style from original feature

I am having a problem with the styling of a WFS vector layer from GeoServer after cloning features from it and adding them to a new feature. First I create a new empty vector layer and add it to the ...
3
votes
1answer
462 views

Dynamic SLD styling - unique colours for linestrings

I have a postGIS table that looks like this: (plus a 'track' geometry column, a linestring for the vessel's track) sampling_interval | voyage_name | start_time_utc | id | ship_name | ...
1
vote
0answers
155 views

How to config geoserver to read style of vector layer from postgis/SQL store?

I've imported vector layers from map info pro to both SQL server and post gis using easy loader. In both cases I've included style column in the exported table. When I create new store in geoserver ...
7
votes
3answers
2k views

What's the simplest way to style vector data in Geoserver?

There seem to be three main options: Manually write the SLD files, based on the SLD cookbook Create the SLD file in QGIS, then import Use the add-on GeoExplorer to create custom styles online ...
4
votes
3answers
1k views

Is Geoserver's “styler” plugin dead?

The "Styler" plugin for Geoserver promised flexible styling of your data, using the GeoExt library: The user guide tells you to first install the REST plugin, and then extract the styler zip file ...
2
votes
0answers
40 views

Avoid multiple labels geoserver styling [duplicate]

Possible Duplicate: Labeling Geoserver SLD I have a geoserver 2.1.x installation with SLD stylization. I have used a property to label the polygons which forms a map. But the issues is the ...
2
votes
0answers
519 views

What is the least painful way to style ENC data for the Web?

Currently working on a project that among other things requires displaying NOAA ENC for a web based intranet portal. We downloaded S-57 ENC data from NOAA site and successfully imported them into ...
2
votes
1answer
398 views

Querying Additional Styles from Geoserver

I'm using GeoServer 2.1.2, and I've got a layer to which I've applied added additional WMS styles. However, I'm having trouble working out how to query the layer and retrieve the list of available ...
4
votes
2answers
640 views

How do you make map styles NOT appear in a legend?

I am using GeoServer to serve up OSM data. I am making use of the GetLegendGraphic command, but I do not want some of my styles to appear in the legend (for example, the styles that are ONLY for text ...