[Geoserver-users] Restrict the directories the Add Data Source URL browse box can see

2014-03-03 Thread tt5430
By default, when you add new Store, the Browse... button on the New Vector/Raster Data Source page will let you browse to any folder on the GeoServer's server machine and that is not desirable. I have been searching and could not find anything in GeoServer documentation that allows me to do that.

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-03-03 Thread Tom Colley
Hi I got around the printing authenticated layers issue by creating a user in Geoserver called printer with access to all layers. You can then add this security block in your config.yaml to send all print requests as a specified user: Security: - !basicAuth Matcher: !dnsMatch host:

Re: [Geoserver-users] Could not install GDAL extension on GeoServer binary installation

2014-03-03 Thread tt5430
I found the problem and trying to figure out what is the best way to fix it. I deploy GeoServer on Linux and start/stop Geoserver using to sudo service geoserver start/stop/restart command. I downloaded GDAL native libraries, placed it in a folder and set the LD_LIBRARY_PATH to point to the

[Geoserver-users] Got USE_JAI_IMAGEREAD is missing error in WMS getMap request format=image/bil

2014-03-03 Thread tt5430
I tried to use the Previewer to render my DTED 2 data and output image/bil format. I got the error and have no ideas what was wrong. How do I send the JAI_IMAGEREAD parameter in the getMap request? Request: getMap Buffer = 0 Format = image/bil Time = [] Filters =

[Geoserver-users] Got ClassCastException rendering Landsat GeoTIFF image.

2014-03-03 Thread tt5430
I downloaded the Landsat GeoTIFF image from USGS EarthExplorer website. When I tried to view it on my WorldWind map client, I got ClassCastException. However, I could view it using the OpenLayers previewer. Below are the getMap requests from the two viewers: From my WorldWind client: Request:

Re: [Geoserver-users] Image mosaic - black background

2014-03-03 Thread Nikolaus Pruzsinszky
No, I don't use caching (in that case), but I have experienced that behaviour with earlier versions too (2.3.x). Regards, Niko Zitat von Andrea Aime andrea.a...@geo-solutions.it: On Fri, Feb 28, 2014 at 7:16 AM, Nikolaus Pruzsinszky nikolaus.pruzsins...@bmlvs.gv.at wrote: Thanks Simone,

[Geoserver-users] Geoserver puts wrong srid to the spatial filter query

2014-03-03 Thread TNU
Hi all, I'm having an issue but can't figure out why Geoserver is causing this srid problem: Geoserver will always put number 2 as an srid to the Filter, srid should be 3067. geom.Filter(geometry::STGeomFromText('POLYGON ((-100989.41629392917 6052208.320800154, -100989.41629392917

Re: [Geoserver-users] Migrating from Mapserver to GeoServer

2014-03-03 Thread Jonathan Moules
Hi James, I don't think I've ever seen mention of a way of automating the migration; might be worth asking on the MapServer list. I suspect it's possible to create a tool to do it (read the mapfile and turn it into SLD's). You're probably going to have to do it manually though. Jonathan On 25

Re: [Geoserver-users] Could not install GDAL extension on GeoServer binary installation

2014-03-03 Thread Simone Giannecchini
Ciao Tam, what you did is fine as it allows you to isolate GeoServer config from the config on the machine. Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions

Re: [Geoserver-users] Forcing GeoServer/GeoWebCache to align tiles with top left origin

2014-03-03 Thread Jonathan Moules
Hi Harv, Running on the assumption it's a bug, I'd suggest opening a ticket on Jira. - http://docs.geoserver.org/stable/en/user/introduction/gettinginvolved.html#bug-tracking From what you've said and tested it sounds like it's probably a bug to me. Regards, Jonathan On 25 February 2014

Re: [Geoserver-users] Newbie question: GeoServer web page not starting up

2014-03-03 Thread Jonathan Moules
Hi James, You can use ImageMosaic to treat 8 files as a single layer. Not sure if it works with jpegs though. You could convert them to jpeg compressed TIF's and that'd work. Cheers, Jonathan On 26 February 2014 23:55, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE james.evan...@us.af.mil wrote:

Re: [Geoserver-users] Failed to derive native bbox from declared one

2014-03-03 Thread Jonathan Moules
Hi Anders, I've not seen this error myself, but you should be able to look at your tomcat/jetty logs to see what request was made to the server at the time that the geoserver.log entry was made. If it was a GET request it should/may include the entire request allowing you to replicate it. Cheers,

Re: [Geoserver-users] Newbie question: GeoServer web page not starting up

2014-03-03 Thread Simone Giannecchini
Ciao James, you can get some more information about how to treat raster files for performance in these slides: http://goo.gl/74XUPq I would go from jpg to geotiff (optional, with peg compression). Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it

[Geoserver-users] Reg-----Split Polygon in Openlayers

2014-03-03 Thread geo gis
Hi, Can anyone give me suggestion for splitting polygon in Openlayers is possible,If possible means give me the url...I tried out the Split feature example by using this url http://openlayers.org/dev/examples/split-feature.html But it is working for line onlyI need Polygon Split example in

Re: [Geoserver-users] Newbie question: GeoServer web page not starting up

2014-03-03 Thread EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
Hi Simone and Jonathan, Thanks for the replies. I'm sure I'll be able to get everything moved over. I just thought I'd mention that I do think there is a problem with the installation. I had Apache running on port 80, and I was unable to get Jetty to answer up until I turned off Apache. I

Re: [Geoserver-users] Geoserver puts wrong srid to the spatial filter query

2014-03-03 Thread Jonathan Moules
Hi Tomi, Sounds like a bug. I suspect the 2 is supposed to be referencing a variable (at least, that's how it looks in the logs). Unless someone who actually knows stuff comments, I'd suggest opening it up as a ticket on Jira. Cheers, Jonathan On 3 March 2014 08:45, TNU

Re: [Geoserver-users] Geoserver puts wrong srid to the spatial filter query

2014-03-03 Thread Andrea Aime
On Mon, Mar 3, 2014 at 9:45 AM, TNU tomi.nurmiai...@fifthelement.fi wrote: Hi all, I'm having an issue but can't figure out why Geoserver is causing this srid problem: Geoserver will always put number 2 as an srid to the Filter, srid should be 3067.

[Geoserver-users] Jpeg (set transparent color)

2014-03-03 Thread marco casella
Hello, I have uploaded a jpeg format into my server as worldimage, trying to set the impost transparent color but I can't figure out how to do it. Do you have any tips? when I upload a tiff format I don't have this kind of issue. regards. Marco

Re: [Geoserver-users] Reg-----Split Polygon in Openlayers

2014-03-03 Thread Aleksander Vines
I guess the OpenLayers mailing list would be more appropriate for this question. However, I recently came across this small application for drawing on a map in OpenLayers 2, it has a function for splitting polygons, you could look into the code?  http://ole.geops.de/ Aleksander geo gis

Re: [Geoserver-users] Got ClassCastException rendering Landsat GeoTIFF image.

2014-03-03 Thread Nicola Lagomarsini
Hi Tam, I think that the GeoTiff reader is not able to read correctly the GeoTiff file for a wrong GeoTiff Tag definition. Could you send me the link to the image so that I can download and test it? Cheers, Nicola. 2014-02-28 17:51 GMT+01:00 tt5430 tt9...@gmail.com: I downloaded the Landsat

Re: [Geoserver-users] Jpeg (set transparent color)

2014-03-03 Thread Daniele Romagnoli
Hi Marco, GeoTiff and WorldImage are 2 different stores handled by 2 different geotools formats. The GeoTIFF format support the transparent color parameter while the world image doesn't. As a quick workaround, you may consider configuring an ImageMosaic on top of your original dataset. You may

Re: [Geoserver-users] Jpeg (set transparent color)

2014-03-03 Thread Rahkonen Jukka (Tike)
Hi, Not possible, jpeg format does not support transparent colors. Even converting to tiff does not help totally because jpeg is a lossy compression method and areas which had same pixel values originally are not the same after compress-decompress cycle. There is a GDAL tool nearblack for

[Geoserver-users] CSS styling and complex lines

2014-03-03 Thread Bistrais, Bob
Hello, I've been learning to use the CSS styling in GeoServer to create complex line symbols such as highway symbols. Although the line symbols look great on the map, I noticed that complex line symbols will appear twice in the map legend. Here is an example of one of my symbols: /*

Re: [Geoserver-users] Migrating from Mapserver to GeoServer

2014-03-03 Thread Simone Giannecchini
Dear James, a client of ours is developing a groovy script to do that. I can't ensure it is error-proof as the process is complex, but I can see if he is interested in contributing it. What do you think? Regards, Simone Giannecchini == Our support, Your Success! Visit

Re: [Geoserver-users] Reg Map not printed in mapfish print WMS layer is Secured

2014-03-03 Thread Mauro Bartolomeoli
Hi Thomas, just for your info, in latest MapFish-print 2.0 SNAPSHOT, you can also add this to the config.yaml: headers: ['Cookie', 'Referer', 'Authorization'] to let MapFish forward the basic auth to geoserver. This obviously works if your app and geoserver are under the same basic auth domain.

Re: [Geoserver-users] Got USE_JAI_IMAGEREAD is missing error in WMS getMap request format=image/bil

2014-03-03 Thread Daniele Romagnoli
Hi Tam, Which geoserver version are you running? That parameter is a format parameter (GDAL Format in that case) which is automatically passed to the reader using the value you have configured in the layer configuration. So you don't need to specify anything for that. Is the version of your gt

Re: [Geoserver-users] Jpeg (set transparent color)

2014-03-03 Thread Marco Casella
What about a png format? Sent from my iPhone On 03/mar/2014, at 16:08, Daniele Romagnoli daniele.romagn...@geo-solutions.it wrote: Hi Marco, GeoTiff and WorldImage are 2 different stores handled by 2 different geotools formats. The GeoTIFF format support the transparent color parameter

Re: [Geoserver-users] Migrating from Mapserver to GeoServer

2014-03-03 Thread EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
Hi Simone, I would be happy to give it a go. It might be a good test. My mapfile has a mix of raster (LIDAR, GEOTiffs, JP200s, JPGs, IGE, CADRG) and vector data. Let me know what I need to do to try that out. Thanks, James -Original Message- From: simbo...@gmail.com

Re: [Geoserver-users] Jpeg (set transparent color)

2014-03-03 Thread Simone Giannecchini
Ciao Marco, best option is geotiff. Check these slides for more info: http://goo.gl/74XUPq Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio

[Geoserver-users] Rounding error with WPS

2014-03-03 Thread Stefano Iacovella
Dear all, I was doing some tests with WPS and I am wondering if there is a rounding error in processes or maybe I am doing something totally wrong. I took a very simple geometry like this one POINT(12 42) Then apply a JTS:Buffer with several distance ranging from 1 to 0.1 Then I took the

Re: [Geoserver-users] Rounding error with WPS

2014-03-03 Thread Jody Garnett
The libraries are not that different, GEOS is a port of JTS after all. You may wish to ask on the JTS mailing list for details on how buffer and centroid can be used. Jody Garnett On Tue, Mar 4, 2014 at 8:03 AM, Stefano Iacovella stefano.iacove...@gmail.com wrote: Dear all, I was doing

Re: [Geoserver-users] Rounding error with WPS

2014-03-03 Thread Stefano Iacovella
2014-03-04 8:40 GMT+01:00 Jody Garnett jody.garn...@gmail.com: The libraries are not that different, GEOS is a port of JTS after all. You may wish to ask on the JTS mailing list for details on how buffer and centroid can be used. Hi Jody, thanks for the reply. Yep Geos is a port but, also

Re: [Geoserver-users] Rounding error with WPS

2014-03-03 Thread Andrea Aime
On Tue, Mar 4, 2014 at 8:40 AM, Jody Garnett jody.garn...@gmail.com wrote: The libraries are not that different, GEOS is a port of JTS after all. You may wish to ask on the JTS mailing list for details on how buffer and centroid can be used. Jody is spot on, aks on the JTS mailing list. And