2,344 reputation
26
bio website geo-solutions.it
location
age
visits member for 2 years, 11 months
seen 20 hours ago

GeoServer and GeoTools core developer


Nov
23
comment How to remove tiny polygon outlines in geoserver sld?
The proposed solution is the only way, to solve the issue we'd need to control the gamma parameter of the Java antialiasing engine, but it is not exposed, so no luck.
Oct
22
comment OpenStreetMap shp layer is shifting
Or, as an alternative, check the TOWGS84 params of your projection and eventually override them with a value that is more accurate for your area docs.geoserver.org/latest/en/user/advanced/crshandling/…
Aug
1
comment Publishing PostGis table using GeoServer REST returns error when geometry column is NOT named “geom”
GeoServer has no built-in expectations about the name, but it surely expects the geometry column to match what you declared in the geometry_columns table. The "error calculating bounds" might actually hide a PostGIS error when we are calling the estimated bounds pg function.
Jun
23
comment Is there a big (if any) performance difference between Geoserver SQL Layer and OpenLayers geojson Layer?
Also consider the overhead on the browser side, I believe loading 14k points in Openlayers still incurs in significant memory overhead on the client side (but may be wrong, things are evolving and we start seeing full vector clients around that can load lots of geometries/large geometries, just believe OL might not be there yet)
May
17
comment How to start with Geoserver REST api?
It's deployed to Maven, so it exists also as jars.
Apr
15
comment In what format WMSgetFeatureinfo return data?
Yes, WFS must support GML at the bare minimum.
Feb
13
comment geoserver configuration 'Could not initialize class org.geotools.image.ImageWorker'
You should share the full stack trace from the GeoServer own logs.
Dec
28
comment Why does GeoServer copy my PostGIS tables?
Ah, then you should ask on the OpenGeo support forums, the OpenGeo suite does not have a regular open source community, it's more of a commercial product.
Dec
23
comment Dynamic SLD styling - unique colours for linestrings
I agree with Ian that's the best avenue. Just creating a filter function might be another way, but you would have to create something that returns the same color for the same feature every time it's called.. maybe something based on hashing the feature contents and boiling it down to a color, but... there is no guarantee you'll get anything aesthetically pleasing, or that the colors you'll get are unique (the hash might collide) or humanly discernible (distinct colors, but too close for a human to tell apart)
Dec
23
comment Why does GeoServer copy my PostGIS tables?
That's a rather weird situation, lots of people use GeoServer and we never saw this issue. How are you "add" the table? You are not using the "create new type" functionality are you?
Oct
22
comment GeoServer pregeneralized layers not working as expected
I agree about asking on the user mailing list. The developer of that module does not seem to be looking at Stackexchange but he's normally helpful on the mailinsg list.
Oct
10
comment Mixed geometry types styling with Geoserver 2.2
I'm not aware of any reason why 2.2 should be any slower than 2.1, but if you find out it is we'd like to know.
Oct
2
comment ImagePyramid tuning in Geoserver
The problem with the pyramid above is that it follows powers of 4 instead of 2, that's why I'm recommending adding overviews anyways (one level of overviews).
Sep
26
comment Best solution for printing Google Maps?
Confirmed, in all apps where we need a print solution we add multiple background maps for the user to choose, and allow print only on top of the free ones (e.g., OpenStreetMap) to avoid legal issues with Google.
Aug
31
comment ScaleLine shows NaN for LCC projection
Is the scaleline generated by OpenLayers or is it a GeoServer map decoration?
Aug
28
comment Splitting large PostGIS/GeoServer geometry for WMS optmization
It seems Stackexchange has the answer: gis.stackexchange.com/questions/16374/… (then you have to do the intersection, which is another sql query)
Aug
24
comment Is there a way to tell geoserver to send cp1250 http header?
Then I'm afraid that without coding there is no way to change it. The class to be modified is the AbstractURLPublisher in the ows module. If you have coding abilities please fork GeoServer on github, make it use the globally configured charset, and issue a pull request.
Aug
20
comment Is schema definition compulsory for WFS-T
Often this happens because the geometry is encoded in the wrong version of GML, e.g., GML 2 but you are inserting in a WFS 1.1 transaction that requires GML 3. Another possibility is a geometry type mismatch, you are trying to insert a point in a table that only accepts polygons
Aug
19
comment Is schema definition compulsory for WFS-T
As far as I know it does not, provided you specify the right namespace for the feature you are inserting
Aug
13
comment How to solve Geoserver Labeling issue
If you are using a tiled client there is no real way out of it, I'm afraid. If you don't want any duplicate label you'll have to use un-tiled requests. A workaround for polygons is to have the SLD extract the centroid using something like <sld:geometry><ogc:Function name="centroid"><ogc:PropertyName>name_of_your_geometry_column</ogc:PropertyName‌​></ogc:Function><sld:geometry> (the syntax might be slightly off, I did not test it), but the moment you do some labels will disappear because they fall at the borders of tiles