[Geoserver-users] Geoserver-users Digest, Vol 20, Issue 15

Hello to all,

Just a question. Im looking for changing my host. Is anyone aware where can i find, a hosting service for geoserver. It would be great if there is a free solution out there.

G. Tsolakis. www.mpe.gr

On Jan 9, 2008 4:18 PM, <geoserver-users-request@lists.sourceforge.net> wrote:

Send Geoserver-users mailing list submissions to
geoserver-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/geoserver-users
or, via email, send a message with subject or body ‘help’ to
geoserver-users-request@lists.sourceforge.net

You can reach the person managing the list at
geoserver-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than “Re: Contents of Geoserver-users digest…”

Today’s Topics:

  1. ImageMosaic sometimes refusing to show images (Luca Morandini)
  2. Re: ImageMosaic sometimes refusing to show images
    (Simone Giannecchini)
  3. Re: WMS labels (Andrea Aime)
  4. Re: WMS labels (Andrea Aime)
  5. Re: Geoserver with complex types (Mauricio Pazos)
  6. Re: Geoserver 1.5.3 / WMS GetFeatureInfo Problem with
    different SRS (Andrea Aime)
  7. non spatial data (Grega Bizjak)
  8. Re: non spatial data (Till Adams)

Message: 1
Date: Wed, 09 Jan 2008 11:07:54 +0100
From: Luca Morandini <lmorandini@…309… >
Subject: [Geoserver-users] ImageMosaic sometimes refusing to show
images
To: geoserver-users@lists.sourceforge.net
Message-ID: < fm26dr$hb7$1@…1402…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I’m observing a rather annoying problem with ImageMosaic coverages:
sometimes the tiled images are not shown in OpenLayers or Google Maps.

At first I thought it was a latency problem, but the same problem arises
when issuing direct WMS requests.

To sort out the problem, I created a coverage out of an image used in
the ImageMosaic, and it worked perfectly well. Therefore, I presume
there is something wrong with the ImageMosaics I’ve built (I’ve observed
the same problem previously).

BTW, the log shows no error and the image is created as blank (produced
rather quickly, as it didn’t even read the mosaic)…?to add insult to
injury, the anomaly seems to be related to the geographical extent (some
BBOX won’t show even with browser cache de-activated and GeoServer
restarted).

Any clue ?

Configuration: Linux Fedora 8 x86_64, JVM 1.5.0_12, JAI 2007-09-18,
Geoserver 1.6.0-RC1.

Regards,


Luca Morandini
www.lucamorandini.it


Message: 2
Date: Wed, 9 Jan 2008 11:49:30 +0100
From: “Simone Giannecchini” <simboss1@…84…>
Subject: Re: [Geoserver-users] ImageMosaic sometimes refusing to show
images
To: lmorandini@…309…
Cc: geoserver-users@lists.sourceforge.net
Message-ID:
< 961f4d9e0801090249o69ccb713s210b7e3f5382648e@…85…>
Content-Type: text/plain; charset=ISO-8859-1

Ciao Luca,
could you provide some sample data in order to reproduce and
investigate this erroneous behaviour?

Thx,
Simone.

On Jan 9, 2008 11:07 AM, Luca Morandini <lmorandini@…309…> wrote:

I’m observing a rather annoying problem with ImageMosaic coverages:
sometimes the tiled images are not shown in OpenLayers or Google Maps.

At first I thought it was a latency problem, but the same problem arises
when issuing direct WMS requests.

To sort out the problem, I created a coverage out of an image used in
the ImageMosaic, and it worked perfectly well. Therefore, I presume
there is something wrong with the ImageMosaics I’ve built (I’ve observed
the same problem previously).

BTW, the log shows no error and the image is created as blank (produced
rather quickly, as it didn’t even read the mosaic)…?to add insult to
injury, the anomaly seems to be related to the geographical extent (some
BBOX won’t show even with browser cache de-activated and GeoServer
restarted).

Any clue ?

Configuration: Linux Fedora 8 x86_64, JVM 1.5.0_12, JAI 2007-09-18,
Geoserver 1.6.0-RC1.

Regards,


Luca Morandini
www.lucamorandini.it


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it



Message: 3
Date: Wed, 09 Jan 2008 12:08:50 +0100
From: Andrea Aime < aaime@…1…>
Subject: Re: [Geoserver-users] WMS labels
To: pdub <walrapaul@…1485…>
Cc: geoserver-users@lists.sourceforge.net
Message-ID: <4784AB42.3020308@…1…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

pdub ha scritto:

I’ve tried specifying multi-line WMS labels by using two
TextSymbolizer sections, and have tested it on GeoServer-1.5.4 and
GeoServer-1.6-RC2. But I can’t get it to produce two labels. In both
versions, the WMS label only displays what was in the second
TextSymbolizer area. The first field is not displayed at all.

Here’s a sample snippet from my SLD:




ogc:PropertyNamemountain_name</ogc:PropertyName>

< Font>
Courier
Normal
8
</ Font>

#000000



ogc:PropertyNameheight</ogc:PropertyName>
< Font>
Courier
Normal
8
</ Font>

#000000


The resulting WMS label will only show the height field (the second
TextSymbolizer). Is there anything else I need to do in the SLD to
display both field labels?

Yes, given they are two labels you have to displace them so that they
don’t cover each other, otherwise the label conflict resolution
algorithm will just pick one.

For example, adding the following two symbolizers to the “green”
style used by the tasmania states demo layer works for me (see the
displacement in action):

STATE Arial Normal 8 #000000 COUNTRY Arial Normal 8 0 -12 #000000

I also tried out adding a newline inside the text using
the mixes syntax, but it’s really our label renderer
that does not support newlines in a label (at least the
one in 1.6.x does not…)

Cheers
Andrea


Message: 4
Date: Wed, 09 Jan 2008 12:26:39 +0100
From: Andrea Aime <aaime@…1…>
Subject: Re: [Geoserver-users] WMS labels
To: Jason Pickering <jason.p.pickering@…84… >
Cc: geoserver-users@lists.sourceforge.net
Message-ID: <4784AF6F.2090700@…1…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Jason Pickering ha scritto:

Another possibility is to use a spatial view, through Postgres or
Oracle for instance, to accomplish this.
I am not sure if you are using a spatial database, but if so, you
might not have to code any Java, since it seems what you want to do
would be fairly trivial with the use of a view, or for performance
reasons, a materialized view or a trigger that would populate your
database with the combination of the two fields. I have used this
approach in some cases, and it works fine.

Hum Jason, did you try this out with newlines and it worked for you?

Using mixed syntax in 1.6.x works as well, for example:

STATE - COUNTRY Arial Normal 8 #000000

applied to Tasmania states actually displays a lable with a dash
in between the two properties, yet I’ve found no way to make it
work with a newline. In fact any attempt to specify a newline
(using an xml entity such as ) fails.

I’ve created an issue to handle this:
http://jira.codehaus.org/browse/GEOS-1661

Cheers
Andrea


Message: 5
Date: Wed, 9 Jan 2008 12:31:20 +0100
From: Mauricio Pazos <mauricio.pazos@…80…>
Subject: Re: [Geoserver-users] Geoserver with complex types
To: geoserver-users@lists.sourceforge.net
Cc: Justin Deoliveira <jdeolive@…1…>
Message-ID: < 200801091231.20459.mauricio.pazos@…80…>
Content-Type: text/plain; charset=“iso-8859-1”

On Tuesday 08 January 2008, Justin Deoliveira wrote:

Unfortunately it wont work due to this geotools issue:
<http://jira.codehaus.org/browse/GEOT-1655>.

Please, try changing doble quote by single quote

strConcat( strConcat(QS, strConcat(‘/’, RT)), strConcat(strConcat(‘/’, NUMB),
strConcat(‘/’, BSUFF)) )

cheers

Mauricio Pazos

www.axios.es
tel-:+34 94 441 63 84


Message: 6
Date: Wed, 09 Jan 2008 12:38:11 +0100
From: Andrea Aime <aaime@…1…>
Subject: Re: [Geoserver-users] Geoserver 1.5.3 / WMS GetFeatureInfo
Problem with different SRS
To: Bakoi <bakoi@…1408…>
Cc: geoserver-users@lists.sourceforge.net
Message-ID: < 4784B223.5070507@…1…>
Content-Type: text/plain; charset=UTF-8; format=flowed

Bakoi ha scritto:

Hello everyone,

I have some problem with the GetFeatureInfo request.
I am trying to retrieve informations on a WMS layer stored in SRS:32631
which is displayed in SRS:4326.

I am having the following error message in the logs of geoserver :
[SEVERE]
org.vfny.geoserver.wms.responses.featureInfo.AbstractFeatureInfoResponse -
Longitude 646?10.5’E is out of range (?180?).

I don’t understand why as I formulate my request as following:
" http://10.37.0.1:8080/geoserver/wms?REQUEST=GetFeatureInfo&VERSION=1.3.0&EXCEPTIONS=application/vnd.ogc.se_xml&BBOX=1.048831,42.845709,2.111667,43.512296&X=418&Y=389&INFO_FORMAT=application/vnd.ogc.gml&WIDTH=861&HEIGHT=540&LAYERS=mpc:road,mpc:railroad&STYLES=&SRS=EPSG:4326&QUERY_LAYERS=mpc:road,mpc:railroad&FORMAT=image/png "

I don’t really know, but it’s likely it has been fixed in 1.6.0 (or
else, you’re having an issue with that specific layer…).

For example, if we have a look at this GeoServer 1.6.0-rc2 install:
http://geo.openplans.org:8080/geoserver

and we issue the following request against the topp:states layer, which
is stored in EPSG:4326, but queried in EPSG:900913 (the “Google
projection”):

http://geo.openplans.org:8080/geoserver/wms?bbox=-13885038.38296092,2870337.13079368,-7455049.48918242,6338174.05575762&styles=&Format=application/openlayers&request=GetMap&layers=topp:states&width=800&height=317&srs=epsg:900913

and then click on the map to execute a GetFeatureInfo, the result
comes back just fine. An example GetFeatureInfo request against that
layer is:

http://geo.openplans.org:8080/geoserver/wms?WIDTH=800&SRS=epsg%3A900913&LAYERS=topp%3Astates&HEIGHT=317&STYLES=&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_xml&BBOX=-15693472.759336%2C2613721.922057%2C-5646615.112807%2C6594789.264494&X=361&Y=213&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=topp%3Astates&FEATURE_COUNT=50&srs=epsg%3A900913&layers=topp%3Astates&styles=

and it works for me.

Cheers
Andrea


Message: 7
Date: Wed, 9 Jan 2008 15:08:37 +0100
From: “Grega Bizjak” < grega.bizjak@…1204…>
Subject: [Geoserver-users] non spatial data
To: <geoserver-users@lists.sourceforge.net>
Message-ID: < 7D3BA0A6D5AC494FABC8272003F1CB35967537@…1206…>
Content-Type: text/plain; charset=“us-ascii”

I have table in db that contains nonspatal data (no geometry) just x,y
field. Is it possible to add table to geoserver as Feature Type ?.

Thx Grega

-------------- next part --------------
An HTML attachment was scrubbed…


Message: 8
Date: Wed, 09 Jan 2008 15:17:43 +0100
From: Till Adams < adams@…1493…>
Subject: Re: [Geoserver-users] non spatial data
To: Grega Bizjak <grega.bizjak@…1204…>
Cc: geoserver-users@lists.sourceforge.net
Message-ID: <4784D787.6070202@…1493…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Grega Bizjak schrieb:

I have table in db that contains nonspatal data (no geometry) just
x,y field. Is it possible to add table to geoserver as Feature Type ?.

Thx Grega



Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Dear Grega,

if you have access to postgis, it’s simple to build a geometry column
out of your dbf in three steps:

Import dbf-table to postgis.
Use “AddgeometryColumn” Function to add a geometry column to your table.
UPDATE <TABLE_NAME> SET the_geom = (GeometryFromText(‘POINT(’ || x || ’
’ || y || ‘)’,YOUR_EPSG_CODE))

Best reagrds, Till


terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Gesch?ftsf?hrung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
adams@…1493…
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835

Komplement?rin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams



Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

End of Geoserver-users Digest, Vol 20, Issue 15


Γεώργιος Τσολάκης - Περιβαλλοντολόγος
Γραφείο Περιβαλλοντικών Μελετών
Ζήνωνος 57. Περιστέρι. Αθήνα
tel: +30 210 5727615
fax: +30 210 5727995
mobile: + 30 6977 158693
email: gtsolakis@…84…
URL : www.mpe.gr