Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry

2010-09-30 Thread Andrea Aime
On Thu, Sep 30, 2010 at 5:29 AM, Nji, Klaus nj...@emsglobaltracking.com wrote: I ran into the WFS GetNearest plugin which may do the trick for me.  This is a 3 year old document so I am suspecting something has changed but cound not find any reference of GetNearest in current doc.

Re: [Geoserver-users] Preventing multiple labels in a polygon

2010-09-30 Thread Rahkonen Jukka
Hi, I have practically no experience on SLD but I believe that one label at the centre is actually the default. Have a try with the example styles of the SLD cookbook at http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/polygons.h tml#polygon-with-default-label If your client is

Re: [Geoserver-users] load data from openlayer and onegeology

2010-09-30 Thread Vito Meuli
Hi Marco! I know from a previous discussion in another list that you need what in Geoserver is called a WMS Cascading to reproject a WMS from another WMS server. It seems to me it's feasible [1]. It's a feature recently added in Geoserver 2.1beta. [1]

[Geoserver-users] GeoServer to GeoWebCache comm over port 80

2010-09-30 Thread Ottofaro, Jack
We're running an older version of GeoServer , version 1.7.1 I believe, and it appears to communicate internally with the GeoWebCache plug-in over port 80. On our production system port 80 is unavailable - only comm. over secured ports is allowed, e.g. port 443. I read a post on the internet

Re: [Geoserver-users] Grants in oracle for publishing layer

2010-09-30 Thread Rahkonen Jukka
Hi, If is has something to do with finding the primary key then it might be handled trough the geoserver_metadata table system. It has been discussed on this mailing list couple of times not so long time ago, try to find the thread. I was one of the writers. -Jukka Rahkonen-

Re: [Geoserver-users] GeoServer to GeoWebCache comm over port 80

2010-09-30 Thread Arne Kepp
Yes, 2.0.1 internalizes the communication, so it happens in Java without network access. However, to me it seems like you should just allow HTTP communication on 127.0.0.1, and not on the public interface. Anyone that can sniff packets on the loopback interface already has superuser

Re: [Geoserver-users] Use of WFS and business logic

2010-09-30 Thread Andrea Aime
WFS is a geographic data retrival system, similar to an XML database (in that it returns XML documents that have a fixed structure, defined by a schema). I guess your question is similar to is it possible to implement business logic into a database. I guess that with triggers and stored

Re: [Geoserver-users] Error on WMS GetCapabilities

2010-09-30 Thread David Winslow
Check the log file (in your DATADIR under logs/geoserver.log) for a stack trace. It should provide a better hint at what failed. -- David Winslow OpenGeo - http://opengeo.org/b On Wed, Sep 29, 2010 at 10:06 PM, Nji, Klaus nj...@emsglobaltracking.comwrote: Running Geoserver 2.0.2 and I get

[Geoserver-users] full red tiles

2010-09-30 Thread Balázs Bámer
Hi All, I have rare problems with Oracle Spatial layer in Geoserver 2.0.2. I use SLD for styling. Most queries work fine, but sometimes some zoom levels yield a correct WMS tile image, but the content is full red. It is NOT the pink OpenLayers tile, it exists and can be recalled in browser.

[Geoserver-users] Geography Data Type Support Geoserver 2.0.2

2010-09-30 Thread IT Intern
Hi Geoserver List, This may seem like a silly question. But I have been honestly Googling for some time now and cannot say confidently I know for sure whether Geoserver 2.0.2 can support GEOGRAPHY data types. I am using PostGis 1.5 and my dataset has a geography column. Also can anyone tell

Re: [Geoserver-users] Display labels in another language

2010-09-30 Thread elshae
I resolved the issue :) It turns out that my understanding of how Geoserver renders fonts was quite misguided. Geoserver uses the same fonts as your Java runtime. Anyone having this issue needs to go to the fonts folder of their current Java Virtual Machine, drop the .ttf file of whichever

Re: [Geoserver-users] Error on WMS GetCapabilities

2010-09-30 Thread Nji, Klaus
Andrea, this is the full exception: ?xml version=1.0 encoding=UTF-8 standalone=no?!DOCTYPE ServiceExceptionReport SYSTEM http://localhost:8091/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd; ServiceExceptionReport version=1.1.1ServiceException Translator error Translator error 0

Re: [Geoserver-users] Chinese font-family in sld?

2010-09-30 Thread elshae
I got it! My understanding was very misguided...I have posted about my success and the steps I have taken here: http://old.nabble.com/Display-labels-in-another-language-td29703100.html#a29847085 Thanks, elshae -- View this message in context:

[Geoserver-users] Using JSP in data/www (i.e. Geoserver data dir)

2010-09-30 Thread James Nicolson
Hello all, I was wondering whether it possible to run JSP in the data/www folder in geoserver. If so, how is this possible? Regards, James -- Start uncovering the many advantages of virtual appliances and start using

Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry

2010-09-30 Thread Nji, Klaus
I have downloaded and installed Geoserver 2.1.0 -beta 1. Tried the following WFS request: http://localhost:8081/geoserver/wfs?request=getNearestservice=wfsversion=1.0.0typename=ems:airportPropertyName=ems:name,the_geomPOINT=-77.51761,37.02235MAXRANGE=50UNITS=mi and received the following

Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry

2010-09-30 Thread Nji, Klaus
Getting closer. I have downloaded WPF extension and I have been able to create a sample gs:Nearest WPS request using the new WPS request builder. I was able to get the closest feature to say POINT(0 0). However, I am unable to specify max range and units. Also, I need the n closest

Re: [Geoserver-users] How many time png tile have to be writen ?

2010-09-30 Thread Bino Oetomo
Justin ... You ARE rights !!! Justin Deoliveira wrote: My first guess would be the database not being properly indexed. Ensure that you have spatial indexes on every geometry column involved in the query. Also when using SLD's with complex rule based styling it is also important to index

Re: [Geoserver-users] Using JSP in data/www (i.e. Geoserver data dir)

2010-09-30 Thread Justin Deoliveira
Not possible. The www directly is only capable of serving static and nothing dynamic like a jsp. You could deploy your own webapp next to geoserver in the same container and serve up jsps from it. Or if you need to be in the same webapp as geoserver it would be possible to make a geoserver

Re: [Geoserver-users] [ExternalEmail] Re: java.lang.RuntimeException: Could not unwrap connection

2010-09-30 Thread Ben Caradoc-Davies
Thanks, Florence and Xiangtan. This has just been very useful to me. Andrea, accessToUnderlyingConnectionAllowed is set to true in gt-jdbc JDBCDataStoreFactory for non-JNDI connection pools. Should we recommend it for JNDI as well, as it appears that Oracle sometimes needs it? If so, I will

Re: [Geoserver-users] How many time png tile have to be writen ?

2010-09-30 Thread Bino Oetomo
Bino Oetomo wrote: Justin ... You ARE rights !!! Justin Deoliveira wrote: I do what you suggest and the result is : 1. Number of writing is still 210 times .. BUT 2. The rendering time is only 5,324 seconds 2.a First --- 2010-10-01 09:06:23,757 DEBUG

[Geoserver-users] Image Management

2010-09-30 Thread Ted
List, I have a large archive of scanned topo sheets, size around 500MB each and 200 sheets in total. Thats around 100 GB approx. ow, whats the best OPEN SOURCE solution to mange these images and call them on my web application (WMS, WMS-C...) Is it adviced to store them as geoTIFF in