[Geoserver-users] KML and non Latin Alphabet Characters

Hello to all,

kml produced by my geoserver does not display non latin alphabet characters. :frowning:

Example here

http://195.251.177.229:8080/geoserver/wms/kml?layers=topp:arxaia_ola_wgs

Normally It should display Greek names.

Any solutions?

On Sun, Apr 5, 2009 at 12:09 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. Re: WFS data probleme (Rahkonen Jukka)
  2. Re: WFS data probleme (Andrea Aime)
  3. Re: WCS based on shapefiles? (Alexander Petkov)
  4. Re: WCS based on shapefiles? (Rahkonen Jukka)
  5. Re: WCS based on shapefiles? (Andrea Aime)
  6. Re: WCS based on shapefiles? (Rahkonen Jukka)

Message: 1
Date: Sat, 4 Apr 2009 23:24:26 +0300
From: “Rahkonen Jukka” <Jukka.Rahkonen@anonymised.com>
Subject: Re: [Geoserver-users] WFS data probleme
To: “Jimmy Aumard” <jimmy.aumard@anonymised.com>
Cc: geoserver-users@lists.sourceforge.net
Message-ID:
<CC197224AC75CE4DB23F739B16891B86E34237@anonymised.com>
Content-Type: text/plain; charset=“iso-8859-1”

Hi,

WFS version 1.0.0 does not officially support reprojecting the data. However, Geoserver gives this possibiolity as a vendor option. It is documented here:
http://geoserver.org/display/GEOSDOC/WFS+vendor+parameters

It looks like the format to be used in request is like &srsName=“EPSG:4326”
The way you have tried in your requests is wrong, Geoserver does not recognise it at all but just skips it. Therefore the first request works, because with it the bbox is in the native and advertised projection of your data.

You can configure Geoserver to send the data out by default in EPSG:4326 if you want, withour reprojecting the original data. Then the EPSG:4326 bounding box should work without srsname parameter.

-Jukka-

-----Alkuper?inen viesti-----
L?hett?j?: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com]
L?hetetty: la 4.4.2009 21:48
Vastaanottaja: Rahkonen Jukka
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] WFS data probleme

Thanks! I have make test

this request:
http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0
and this one it’s ok

and I try this one :
http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196
But they don’t work :s

When I make the datastore geoserver translate 47680.0 to -5.498977524054812
when I push “generate” for BBOX

I don’t understand what is wrong because is geoserver who make translate, he
make mistake?

Jim

2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com>

Hi,

WFS SRS and bbox must be using the same projection and units. If output it
asked to be in EPSG:4326 then bbox must use degrees in wgs84. If output is
asked to be the French projection EPSG:27572 then bbox must be in meters,
because it is the unit for 27572. In your case using SRS=EPSG:4326 may
help. Unfortunately I do not know anything about Openlayers.

-Jukka-

Jimmy Aumard wrote:

Sorry I’m french and I don’t understand what you said :s

It’s the unit of my BBOX is wrong?

I must project my data in wgs84 to use wfs?

Openlayers generate the BBOX automatically, I don’t know if it’s possible
to
change this parameter.

Thanks

Jim

2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com>

Hi,

Search from spatialreference.org
http://spatialreference.org/ref/epsg/27572/
returns among other things:
WGS84 Bounds: -5.2000, 42.2500, 8.2300, 51.1000
Projected Bounds: -22841.3905, 1712212.6192, 1087335.9605, 2703971.1254

You should use the projected units (meters) in the request instead of
lon/lat bounding box.

-Jukka-


L?hett?j?: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com]
L?hetetty: 3. huhtikuuta 2009 16:53

Vastaanottaja: Rahkonen Jukka
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] WFS data probleme

Thanks it’s ok

That work if I don’t specify the BBOX parameter.

But I use Openlayers to make a map with wfs layers and when it make
requests he specify the BBOX.

this is my function:
var wfs = new OpenLayers.Layer.WFS(
“States WFS”,“http://localhost:8080/geoserver/wfs”,
{typename: ‘topp:france’},
{
layers: ‘france’,
featureNS: ‘http://www.openplans.org/topp’,
style:fStyle,
extractAttributes: true

},
{‘reproject’: true}
);

I don’t show data on my map. Firebug show me the request and BBOX is
specify.

:s

Jim

2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com>

Hi,

I believe that everything is OK but Geoserver just does not find any
data
from the BBOX of the request.
I guess that problem is close to this point:
&SRS=EPSG=27572&
BBOX=-6.091001143333474,41.347434706580835,
10.812650506643369,51.089559943887004
*SRS=EPSG=27572 *is obviously wrong, EPSG:27572 should be better. Or
just leave the SRS and BBOX out and ask for the whole feature type
first,
perhaps with maxFeatures parameter,

-Jukka-


L?hett?j?: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com]
L?hetetty: 3. huhtikuuta 2009 16:12

Vastaanottaja: Rahkonen Jukka
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] WFS data probleme

I have my data on the getCapabilities:

topp:france france_Type Generated from bdd - france bdd urn:x-ogc:def:crs:EPSG:27572 - -6.091001143333474 41.347434706580835 10.812650506643369 51.089559943887004

My request is

http://localhost:8080/geoserver/wfs?typename=france&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG=27572&BBOX=-6.091001143333474,41.347434706580835,10.812650506643369,51.089559943887004

and the result is
<wfs:FeatureCollection xsi:schemaLocation="
http://www.openplans.org/topp

http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp:france

http://www.opengis.net/wfs
http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd">

gml:boundedBy
gml:nullunknown</gml:null>
</gml:boundedBy>
</wfs:FeatureCollection>

Why I don’t have the data? Sory if I’m not clear but I’m French and I
start with this technology

Thanks for your help.

Jim

2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com>

There should be no difference. How are you exactly trying to access
your data in wfs? Do you see the feature type in WFS GetCapabilities
document? If yes, what happens when you throw getFeature request?

-Jukka Rahkonen-


L?hett?j?: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com]
L?hetetty: 3. huhtikuuta 2009 15:20
Vastaanottaja: Rahkonen Jukka
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] WFS data probleme

Thanks for your answer,

But before the import in geoserver does shapefiles need to be
particularly formated because I can access to my data in wms but not
in
wfs.
I access to “states” shapefile in wfs.

Jim.

2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com>

Hi,

It is for sure possible to use shapefiles as input for Geoserver, and
it
is possible also to import the shapefile to PostGIS first and use the
resulting database table as input for Geoserver. Both ways you can
use the
data through WFS. Creating WFS feature type happens almost
automatically it
you just follow the documentation and create DataStore first, then
FeatureType.

-Jukka Rahkonen-


L?hett?j?: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com]
L?hetetty: 3. huhtikuuta 2009 14:48
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] WFS data probleme

Hi!

I want to know if it’s possible to make a wfs’s request on a shapefile
in postgis with geoserver and to know if data must be prepared to the
wfs.

Thanks!


Message: 2
Date: Sat, 04 Apr 2009 22:33:53 +0200
From: Andrea Aime <aaime@anonymised.com>
Subject: Re: [Geoserver-users] WFS data probleme
To: Jimmy Aumard <jimmy.aumard@…84…>
Cc: Rahkonen Jukka <Jukka.Rahkonen@anonymised.com>,
geoserver-users@lists.sourceforge.net
Message-ID: <49D7C431.4080507@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Jimmy Aumard ha scritto:

Thanks! I have make test

this request:
http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0
<http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0>
and this one it’s ok

and I try this one :
http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196
<http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196>
But they don’t work :s

When I make the datastore geoserver translate 47680.0 to
-5.498977524054812 when I push “generate” for BBOX

I don’t understand what is wrong because is geoserver who make
translate, he make mistake?

Nope, your request is invalid in a couple of ways.
First, the bbox that GeoServer shows you in the configuration
page is always the lat/lon one, no matter what your native
SRS is, because OGC pretends we publish at least a lat/lon
bbox for each layer (thus that bbox must be calculated).

The first error is that the two requests are using a parameter
that does not exist in WFS, &EPSG. WFS 1.0 has officially
no reprojection abilities, but GeoServer supports the
same parameter as WFS 1.1 as a vendor option.
The second error is that your second request, in case you
really need to use WGS84, does not specify it as the
SRS in the bbox.

Two valid requests are:
http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&BBOX=47680.0,1620431.0,1197822.0,2677441.0
(data in the native srs, bbox in the native srs)

http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&srsName=EPSG:4326&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196,EPSG:4326
(asking the data to be reprojected in 4326, notice how I specified the
spatial reference system for the bbox too).

Hope this helps
Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.


Message: 3
Date: Sat, 4 Apr 2009 17:23:55 -0600
From: Alexander Petkov <greenkov@anonymised.com.84…>
Subject: Re: [Geoserver-users] WCS based on shapefiles?
To: op10@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Message-ID:
<e32c6ce00904041623h2ba5674aqd117ff05d5255f26@anonymised.com>
Content-Type: text/plain; charset=UTF-8

On Sat, Apr 4, 2009 at 10:56 AM, <op10@anonymised.com> wrote:

Both. I know how to set up a WMS, but it is not clear how to create a WCS
server that allows DOWNLOADing of GeoTiff data which are generated
from vector data.
Op10

You’d have to rasterize your vector data in advance, prior to serving
it, and configure the rasters as Geoserver coverages.
GDAL has a vector to raster utility:

http://gdal.org/gdal_rasterize.html

Alex


Message: 4
Date: Sun, 5 Apr 2009 10:29:48 +0300
From: “Rahkonen Jukka” <Jukka.Rahkonen@anonymised.com>
Subject: Re: [Geoserver-users] WCS based on shapefiles?
To: “Alexander Petkov” <greenkov@anonymised.com>, <op10@anonymised.com>
Cc: geoserver-users@lists.sourceforge.net
Message-ID:
<CC197224AC75CE4DB23F739B16891B86E34239@anonymised.com>
Content-Type: text/plain; charset=“iso-8859-1”

Hi,

I think that this is going too complicated with prerasterizing vectors. Geoserver WMS can already do the rasterizing. I would prepare well defined WMS requests with balanced bbox and image size, save the images on disk and after that convert them to GeoTIFFs. With Geoserver there is a need to make some simple system for generating a world file for each GetMap request.

With Mapserver your task would be simple. Just configure an additional GeoTIFF output format in the mapfile and then Mapserver could deliver directly Geotiffs with WMS requests.

-Jukka Rahkonen-

Alexander Petkov wrote:

On Sat, Apr 4, 2009 at 10:56 AM, <op10@anonymised.com> wrote:

Both. I know how to set up a WMS, but it is not clear how to create a WCS
server that allows DOWNLOADing of GeoTiff data which are generated
from vector data.
Op10

You’d have to rasterize your vector data in advance, prior to serving
it, and configure the rasters as Geoserver coverages.
GDAL has a vector to raster utility:

http://gdal.org/gdal_rasterize.html

Alex


Message: 5
Date: Sun, 05 Apr 2009 09:51:53 +0200
From: Andrea Aime <aaime@anonymised.com>
Subject: Re: [Geoserver-users] WCS based on shapefiles?
To: Rahkonen Jukka <Jukka.Rahkonen@anonymised.com>
Cc: geoserver-users@lists.sourceforge.net, Alexander Petkov
<greenkov@anonymised.com>
Message-ID: <49D86319.8000604@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Rahkonen Jukka ha scritto:

Hi,

I think that this is going too complicated with prerasterizing
vectors. Geoserver WMS can already do the rasterizing. I would
prepare well defined WMS requests with balanced bbox and image size,
save the images on disk and after that convert them to GeoTIFFs.
With Geoserver there is a need to make some simple system for
generating a world file for each GetMap request.

GeoServer can generate GeoTIFF from WMS out of the box. The list
of supported output formats probably grew a little since you
last checked, here it is (there are some aliases in the middle):

image/png
application/atom xml
application/atom+xml
application/openlayers
application/pdf
application/rss xml
application/rss+xml
application/vnd.google-earth.kml
application/vnd.google-earth.kml xml
application/vnd.google-earth.kml+xml
application/vnd.google-earth.kmz
application/vnd.google-earth.kmz xml
application/vnd.google-earth.kmz+xml
atom
image/geotiff
image/geotiff8
image/gif
image/jpeg
image/png8
image/svg
image/svg xml
image/svg+xml
image/tiff
image/tiff8
kml
kmz
openlayers
rss

However, even using GeoTiff you’d end up with a georeferenced
RGBA image, whilst the usual vector rasterizing involves taking an
attribute of interest and generating a raster whose cell values have
that attribute. This is not possible with WMS, seems more the
work of a WPS.

Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.


Message: 6
Date: Sun, 5 Apr 2009 12:09:04 +0300
From: “Rahkonen Jukka” <Jukka.Rahkonen@anonymised.com>
Subject: Re: [Geoserver-users] WCS based on shapefiles?
To: “Andrea Aime” <aaime@anonymised.com…1671…>
Cc: geoserver-users@lists.sourceforge.net, Alexander Petkov
<greenkov@anonymised.com>
Message-ID:
<CC197224AC75CE4DB23F739B16891B86E3423A@anonymised.com>
Content-Type: text/plain; charset=“iso-8859-1”

Hi,

Sorry, I must have one day a look at Geoserver as WMS server as well, not only WFS.
If the final goal is to have GeoTIFFs then one alternative could be to use GDAL as WMS client.
For me this looks interesting:
http://gdal.org/frmt_wms.html

-Jukka-

-----Alkuper?inen viesti-----
L?hett?j?: Andrea Aime [mailto:aaime@anonymised.com.1671…]
L?hetetty: su 5.4.2009 10:51
Vastaanottaja: Rahkonen Jukka
Kopio: Alexander Petkov; op10@anonymised.com; geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] WCS based on shapefiles?

Rahkonen Jukka ha scritto:

Hi,

I think that this is going too complicated with prerasterizing
vectors. Geoserver WMS can already do the rasterizing. I would
prepare well defined WMS requests with balanced bbox and image size,
save the images on disk and after that convert them to GeoTIFFs.
With Geoserver there is a need to make some simple system for
generating a world file for each GetMap request.

GeoServer can generate GeoTIFF from WMS out of the box. The list
of supported output formats probably grew a little since you
last checked, here it is (there are some aliases in the middle):

image/png
application/atom xml
application/atom+xml
application/openlayers
application/pdf
application/rss xml
application/rss+xml
application/vnd.google-earth.kml
application/vnd.google-earth.kml xml
application/vnd.google-earth.kml+xml
application/vnd.google-earth.kmz
application/vnd.google-earth.kmz xml
application/vnd.google-earth.kmz+xml
atom
image/geotiff
image/geotiff8
image/gif
image/jpeg
image/png8
image/svg
image/svg xml
image/svg+xml
image/tiff
image/tiff8
kml
kmz
openlayers
rss

However, even using GeoTiff you’d end up with a georeferenced
RGBA image, whilst the usual vector rasterizing involves taking an
attribute of interest and generating a raster whose cell values have
that attribute. This is not possible with WMS, seems more the
work of a WPS.

Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.





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

End of Geoserver-users Digest, Vol 35, Issue 22


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

Hi George,

It is quite probably a bug you have found. It would help to know what backend data source is being used? Is this a database? a shapefile?

-Justin

George Tsolakis wrote:

Hello to all,

kml produced by my geoserver does not display non latin alphabet characters. :frowning:

Example here

http://195.251.177.229:8080/geoserver/wms/kml?layers=topp:arxaia_ola_wgs

Normally It should display Greek names.

Any solutions?

On Sun, Apr 5, 2009 at 12:09 PM, <geoserver-users-request@lists.sourceforge.net <mailto:geoserver-users-request@lists.sourceforge.net>> wrote:

    Send Geoserver-users mailing list submissions to
           geoserver-users@lists.sourceforge.net
    <mailto: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
    <mailto:geoserver-users-request@lists.sourceforge.net>

    You can reach the person managing the list at
           geoserver-users-owner@lists.sourceforge.net
    <mailto: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. Re: WFS data probleme (Rahkonen Jukka)
      2. Re: WFS data probleme (Andrea Aime)
      3. Re: WCS based on shapefiles? (Alexander Petkov)
      4. Re: WCS based on shapefiles? (Rahkonen Jukka)
      5. Re: WCS based on shapefiles? (Andrea Aime)
      6. Re: WCS based on shapefiles? (Rahkonen Jukka)

    ----------------------------------------------------------------------

    Message: 1
    Date: Sat, 4 Apr 2009 23:24:26 +0300
    From: "Rahkonen Jukka" <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>
    Subject: Re: [Geoserver-users] WFS data probleme
    To: "Jimmy Aumard" <jimmy.aumard@anonymised.com
    <mailto:jimmy.aumard@anonymised.com>>
    Cc: geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
    Message-ID:
           <CC197224AC75CE4DB23F739B16891B86E34237@anonymised.com
    <mailto:CC197224AC75CE4DB23F739B16891B86E34237@anonymised.com>>
    Content-Type: text/plain; charset="iso-8859-1"

    Hi,

    WFS version 1.0.0 does not officially support reprojecting the data.
     However, Geoserver gives this possibiolity as a vendor option. It
    is documented here:
    http://geoserver.org/display/GEOSDOC/WFS+vendor+parameters

    It looks like the format to be used in request is like
    &srsName="EPSG:4326"
    The way you have tried in your requests is wrong, Geoserver does not
    recognise it at all but just skips it. Therefore the first request
    works, because with it the bbox is in the native and advertised
    projection of your data.

    You can configure Geoserver to send the data out by default in
    EPSG:4326 if you want, withour reprojecting the original data. Then
    the EPSG:4326 bounding box should work without srsname parameter.

    -Jukka-

    -----Alkuper?inen viesti-----
    L?hett?j?: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
    <mailto:jimmy.aumard@anonymised.com>]
    L?hetetty: la 4.4.2009 21:48
    Vastaanottaja: Rahkonen Jukka
    Kopio: geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
    Aihe: Re: [Geoserver-users] WFS data probleme

    Thanks! I have make test

    this request:
    http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0&gt;
    and this one it's ok

    and I try this one :
    http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196&gt;
    But they don't work :s

    When I make the datastore geoserver translate 47680.0 to
    -5.498977524054812
    when I push "generate" for BBOX

    I don't understand what is wrong because is geoserver who make
    translate, he
    make mistake?

    Jim

    2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>

     > Hi,
     >
     > WFS SRS and bbox must be using the same projection and units. If
    output it
     > asked to be in EPSG:4326 then bbox must use degrees in wgs84. If
    output is
     > asked to be the French projection EPSG:27572 then bbox must be in
    meters,
     > because it is the unit for 27572. In your case using
    SRS=EPSG:4326 may
     > help. Unfortunately I do not know anything about Openlayers.
     >
     > -Jukka-
     >
     > Jimmy Aumard wrote:
     >
     > Sorry I'm french and I don't understand what you said :s
     >
     > It's the unit of my BBOX is wrong?
     >
     > I must project my data in wgs84 to use wfs?
     >
     > Openlayers generate the BBOX automatically, I don't know if it's
    possible
     > to
     > change this parameter.
     >
     > Thanks
     >
     > Jim
     >
     > 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>
     >
     > > Hi,
     > >
     > > Search from spatialreference.org <http://spatialreference.org>
     > > http://spatialreference.org/ref/epsg/27572/
     > > returns among other things:
     > > *WGS84 Bounds*: -5.2000, 42.2500, 8.2300, 51.1000
     > > *Projected Bounds*: -22841.3905, 1712212.6192, 1087335.9605,
    2703971.1254
     > >
     > > You should use the projected units (meters) in the request
    instead of
     > > lon/lat bounding box.
     > >
     > > -Jukka-
     > >
     > > ------------------------------
     > > *L?hett?j?:* Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
    <mailto:jimmy.aumard@anonymised.com>]
     > > *L?hetetty:* 3. huhtikuuta 2009 16:53
     > >
     > > *Vastaanottaja:* Rahkonen Jukka
     > > *Kopio:* geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
     > > *Aihe:* Re: [Geoserver-users] WFS data probleme
     > >
     > > Thanks it's ok
     > >
     > > That work if I don't specify the BBOX parameter.
     > >
     > > But I use Openlayers to make a map with wfs layers and when it make
     > > requests he specify the BBOX.
     > >
     > > this is my function:
     > > var wfs = new OpenLayers.Layer.WFS(
     > > "States WFS","http://localhost:8080/geoserver/wfs&quot;,
     > > {typename: 'topp:france'},
     > > {
     > > layers: 'france',
     > > featureNS: 'http://www.openplans.org/topp’,
     > > style:fStyle,
     > > extractAttributes: true
     > >
     > > },
     > > {'reproject': true}
     > > );
     > >
     > > I don't show data on my map. Firebug show me the request and
    BBOX is
     > > specify.
     > >
     > > :s
     > >
     > > Jim
     > >
     > > 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>
     > >
     > >> Hi,
     > >>
     > >> I believe that everything is OK but Geoserver just does not
    find any
     > data
     > >> from the BBOX of the request.
     > >> I guess that problem is close to this point:
     > >> *&SRS=EPSG=27572&*
     > >> *BBOX=-6.091001143333474,41.347434706580835,*
     > >> *10.812650506643369,51.089559943887004*
     > >> *SRS=EPSG=27572 *is obviously wrong, EPSG:27572 should be
    better. Or
     > >> just leave the SRS and BBOX out and ask for the whole feature type
     > first,
     > >> perhaps with maxFeatures parameter,
     > >>
     > >> -Jukka-
     > >>
     > >> ------------------------------
     > >> *L?hett?j?:* Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
    <mailto:jimmy.aumard@anonymised.com>]
     > >> *L?hetetty:* 3. huhtikuuta 2009 16:12
     > >>
     > >> *Vastaanottaja:* Rahkonen Jukka
     > >> *Kopio:* geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
     > >> *Aihe:* Re: [Geoserver-users] WFS data probleme
     > >>
     > >> I have my data on the getCapabilities:
     > >>
     > >> <FeatureType>
     > >> <Name>topp:france</Name>
     > >> <Title>france_Type</Title>
     > >> <Abstract>Generated from bdd</Abstract>
     > >> -
     > >> <ows:Keywords>
     > >> <ows:Keyword>france</ows:Keyword>
     > >> <ows:Keyword>bdd</ows:Keyword>
     > >> </ows:Keywords>
     > >> <DefaultSRS>urn:x-ogc:def:crs:EPSG:27572</DefaultSRS>
     > >> -
     > >> <ows:WGS84BoundingBox>
     > >> <ows:LowerCorner>-6.091001143333474
    41.347434706580835</ows:LowerCorner>
     > >> <ows:UpperCorner>10.812650506643369
    51.089559943887004</ows:UpperCorner>
     > >> </ows:WGS84BoundingBox>
     > >> </FeatureType>
     > >>
     > >> My request is
     > >>
     >
    http://localhost:8080/geoserver/wfs?typename=france&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG=27572&BBOX=-6.091001143333474,41.347434706580835,10.812650506643369,51.089559943887004
    <http://localhost:8080/geoserver/wfs?typename=france&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG=27572&BBOX=-6.091001143333474,41.347434706580835,10.812650506643369,51.089559943887004&gt;
     > >>
     > >> and the result is
     > >> <wfs:FeatureCollection xsi:schemaLocation="
     > http://www.openplans.org/topp
     > >>
     >
    http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp:france
    <http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp:france&gt;
     > >> http://www.opengis.net/wfs
     > >> http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
     > >> -
     > >> <gml:boundedBy>
     > >> <gml:null>unknown</gml:null>
     > >> </gml:boundedBy>
     > >> </wfs:FeatureCollection>
     > >>
     > >> Why I don't have the data? Sory if I'm not clear but I'm
    French and I
     > >> start with this technology
     > >>
     > >> Thanks for your help.
     > >>
     > >> Jim
     > >>
     > >> 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>
     > >>
     > >>> There should be no difference. How are you exactly trying
    to access
     > >>> your data in wfs? Do you see the feature type in WFS
    GetCapabilities
     > >>> document? If yes, what happens when you throw getFeature
    request?
     > >>>
     > >>> -Jukka Rahkonen-
     > >>>
     > >>> ------------------------------
     > >>> *L?hett?j?:* Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
    <mailto:jimmy.aumard@anonymised.com>]
     > >>> *L?hetetty:* 3. huhtikuuta 2009 15:20
     > >>> *Vastaanottaja:* Rahkonen Jukka
     > >>> *Kopio:* geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
     > >>> *Aihe:* Re: [Geoserver-users] WFS data probleme
     > >>>
     > >>> Thanks for your answer,
     > >>>
     > >>> But before the import in geoserver does shapefiles need to be
     > >>> particularly formated because I can access to my data in wms
    but not
     > in
     > >>> wfs.
     > >>> I access to "states" shapefile in wfs.
     > >>>
     > >>> Jim.
     > >>>
     > >>> 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>
     > >>>
     > >>>> Hi,
     > >>>>
     > >>>> It is for sure possible to use shapefiles as input for
    Geoserver, and
     > it
     > >>>> is possible also to import the shapefile to PostGIS first
    and use the
     > >>>> resulting database table as input for Geoserver. Both ways
    you can
     > use the
     > >>>> data through WFS. Creating WFS feature type happens almost
     > automatically it
     > >>>> you just follow the documentation and create DataStore
    first, then
     > >>>> FeatureType.
     > >>>>
     > >>>> -Jukka Rahkonen-
     > >>>>
     > >>>> ------------------------------
     > >>>> *L?hett?j?:* Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
    <mailto:jimmy.aumard@anonymised.com>]
     > >>>> *L?hetetty:* 3. huhtikuuta 2009 14:48
     > >>>> *Vastaanottaja:* geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
     > >>>> *Aihe:* [Geoserver-users] WFS data probleme
     > >>>>
     > >>>> Hi!
     > >>>>
     > >>>> I want to know if it's possible to make a wfs's request on a
    shapefile
     > >>>> in postgis with geoserver and to know if data must be
    prepared to the
     > wfs.
     > >>>>
     > >>>> Thanks!
     > >>>>
     > >>>
     > >>
     > >
     >

    ------------------------------

    Message: 2
    Date: Sat, 04 Apr 2009 22:33:53 +0200
    From: Andrea Aime <aaime@anonymised.com <mailto:aaime@anonymised.com>>
    Subject: Re: [Geoserver-users] WFS data probleme
    To: Jimmy Aumard <jimmy.aumard@anonymised.com
    <mailto:jimmy.aumard@anonymised.com>>
    Cc: Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>,
           geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
    Message-ID: <49D7C431.4080507@anonymised.com
    <mailto:49D7C431.4080507@anonymised.com>>
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed

    Jimmy Aumard ha scritto:
     > Thanks! I have make test
     >
     > this request:
     >
    http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0&gt;
     >
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0&gt;&gt;
     > and this one it's ok
     >
     > and I try this one :
     >
    http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196&gt;
     >
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196&gt;&gt;
     > But they don't work :s
     >
     > When I make the datastore geoserver translate 47680.0 to
     > -5.498977524054812 when I push "generate" for BBOX
     >
     > I don't understand what is wrong because is geoserver who make
     > translate, he make mistake?

    Nope, your request is invalid in a couple of ways.
    First, the bbox that GeoServer shows you in the configuration
    page is always the lat/lon one, no matter what your native
    SRS is, because OGC pretends we publish at least a lat/lon
    bbox for each layer (thus that bbox _must_ be calculated).

    The first error is that the two requests are using a parameter
    that does not exist in WFS, &EPSG. WFS 1.0 has officially
    no reprojection abilities, but GeoServer supports the
    same parameter as WFS 1.1 as a vendor option.
    The second error is that your second request, in case you
    really need to use WGS84, does not specify it as the
    SRS in the bbox.

    Two valid requests are:
    http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&BBOX=47680.0,1620431.0,1197822.0,2677441.0
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&BBOX=47680.0,1620431.0,1197822.0,2677441.0&gt;
    (data in the native srs, bbox in the native srs)

    http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&srsName=EPSG:4326&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196,EPSG:4326
    <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&srsName=EPSG:4326&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196,EPSG:4326&gt;
    (asking the data to be reprojected in 4326, notice how I specified the
    spatial reference system for the bbox too).

    Hope this helps
    Cheers
    Andrea

    --
    Andrea Aime
    OpenGeo - http://opengeo.org
    Expert service straight from the developers.

    ------------------------------

    Message: 3
    Date: Sat, 4 Apr 2009 17:23:55 -0600
    From: Alexander Petkov <greenkov@anonymised.com <mailto:greenkov@anonymised.com>>
    Subject: Re: [Geoserver-users] WCS based on shapefiles?
    To: op10@anonymised.com <mailto:op10@anonymised.com>
    Cc: geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
    Message-ID:
           <e32c6ce00904041623h2ba5674aqd117ff05d5255f26@anonymised.com
    <mailto:e32c6ce00904041623h2ba5674aqd117ff05d5255f26@anonymised.com>>
    Content-Type: text/plain; charset=UTF-8

    On Sat, Apr 4, 2009 at 10:56 AM, <op10@anonymised.com
    <mailto:op10@anonymised.com>> wrote:
     >
     > Both. I know how to set up a WMS, but it is not clear how to
    create a WCS
     > server that allows DOWNLOADing of GeoTiff data which are generated
     > from vector data.
     > Op10

    You'd have to rasterize your vector data in advance, prior to serving
    it, and configure the rasters as Geoserver coverages.
    GDAL has a vector to raster utility:

    http://gdal.org/gdal_rasterize.html

    Alex

    ------------------------------

    Message: 4
    Date: Sun, 5 Apr 2009 10:29:48 +0300
    From: "Rahkonen Jukka" <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>
    Subject: Re: [Geoserver-users] WCS based on shapefiles?
    To: "Alexander Petkov" <greenkov@anonymised.com
    <mailto:greenkov@anonymised.com>>, <op10@anonymised.com
    <mailto:op10@anonymised.com>>
    Cc: geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
    Message-ID:
           <CC197224AC75CE4DB23F739B16891B86E34239@anonymised.com
    <mailto:CC197224AC75CE4DB23F739B16891B86E34239@anonymised.com>>
    Content-Type: text/plain; charset="iso-8859-1"

    Hi,

    I think that this is going too complicated with prerasterizing
    vectors. Geoserver WMS can already do the rasterizing. I would
    prepare well defined WMS requests with balanced bbox and image size,
    save the images on disk and after that convert them to GeoTIFFs.
     With Geoserver there is a need to make some simple system for
    generating a world file for each GetMap request.

    With Mapserver your task would be simple. Just configure an
    additional GeoTIFF output format in the mapfile and then Mapserver
    could deliver directly Geotiffs with WMS requests.

    -Jukka Rahkonen-

    Alexander Petkov wrote:

     > On Sat, Apr 4, 2009 at 10:56 AM, <op10@anonymised.com
    <mailto:op10@anonymised.com>> wrote:
     >>
     >> Both. I know how to set up a WMS, but it is not clear how to
    create a WCS
     >> server that allows DOWNLOADing of GeoTiff data which are generated
     >> from vector data.
     >> Op10

     > You'd have to rasterize your vector data in advance, prior to serving
     > it, and configure the rasters as Geoserver coverages.
     > GDAL has a vector to raster utility:

     > http://gdal.org/gdal_rasterize.html

     > Alex

    ------------------------------

    Message: 5
    Date: Sun, 05 Apr 2009 09:51:53 +0200
    From: Andrea Aime <aaime@anonymised.com <mailto:aaime@anonymised.com>>
    Subject: Re: [Geoserver-users] WCS based on shapefiles?
    To: Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>
    Cc: geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>, Alexander Petkov
           <greenkov@anonymised.com <mailto:greenkov@anonymised.com>>
    Message-ID: <49D86319.8000604@anonymised.com
    <mailto:49D86319.8000604@anonymised.com>>
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed

    Rahkonen Jukka ha scritto:
     > Hi,
     >
     > I think that this is going too complicated with prerasterizing
     > vectors. Geoserver WMS can already do the rasterizing. I would
     > prepare well defined WMS requests with balanced bbox and image size,
     > save the images on disk and after that convert them to GeoTIFFs.
     > With Geoserver there is a need to make some simple system for
     > generating a world file for each GetMap request.

    GeoServer can generate GeoTIFF from WMS out of the box. The list
    of supported output formats probably grew a little since you
    last checked, here it is (there are some aliases in the middle):

            <Format>image/png</Format>
            <Format>application/atom xml</Format>
            <Format>application/atom+xml</Format>
            <Format>application/openlayers</Format>
            <Format>application/pdf</Format>
            <Format>application/rss xml</Format>
            <Format>application/rss+xml</Format>
            <Format>application/vnd.google-earth.kml</Format>
            <Format>application/vnd.google-earth.kml xml</Format>
            <Format>application/vnd.google-earth.kml+xml</Format>
            <Format>application/vnd.google-earth.kmz</Format>
            <Format>application/vnd.google-earth.kmz xml</Format>
            <Format>application/vnd.google-earth.kmz+xml</Format>
            <Format>atom</Format>
            <Format>image/geotiff</Format>
            <Format>image/geotiff8</Format>
            <Format>image/gif</Format>
            <Format>image/jpeg</Format>
            <Format>image/png8</Format>
            <Format>image/svg</Format>
            <Format>image/svg xml</Format>
            <Format>image/svg+xml</Format>
            <Format>image/tiff</Format>
            <Format>image/tiff8</Format>
            <Format>kml</Format>
            <Format>kmz</Format>
            <Format>openlayers</Format>
            <Format>rss</Format>

    However, even using GeoTiff you'd end up with a georeferenced
    RGBA image, whilst the usual vector rasterizing involves taking an
    attribute of interest and generating a raster whose cell values have
    that attribute. This is not possible with WMS, seems more the
    work of a WPS.

    Cheers
    Andrea

    --
    Andrea Aime
    OpenGeo - http://opengeo.org
    Expert service straight from the developers.

    ------------------------------

    Message: 6
    Date: Sun, 5 Apr 2009 12:09:04 +0300
    From: "Rahkonen Jukka" <Jukka.Rahkonen@anonymised.com
    <mailto:Jukka.Rahkonen@anonymised.com>>
    Subject: Re: [Geoserver-users] WCS based on shapefiles?
    To: "Andrea Aime" <aaime@anonymised.com <mailto:aaime@anonymised.com>>
    Cc: geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>, Alexander Petkov
           <greenkov@anonymised.com <mailto:greenkov@anonymised.com>>
    Message-ID:
           <CC197224AC75CE4DB23F739B16891B86E3423A@anonymised.com
    <mailto:CC197224AC75CE4DB23F739B16891B86E3423A@anonymised.com>>
    Content-Type: text/plain; charset="iso-8859-1"

    Hi,

    Sorry, I must have one day a look at Geoserver as WMS server as
    well, not only WFS.
    If the final goal is to have GeoTIFFs then one alternative could be
    to use GDAL as WMS client.
    For me this looks interesting:
    http://gdal.org/frmt_wms.html

    -Jukka-

    -----Alkuper?inen viesti-----
    L?hett?j?: Andrea Aime [mailto:aaime@anonymised.com
    <mailto:aaime@anonymised.com>]
    L?hetetty: su 5.4.2009 10:51
    Vastaanottaja: Rahkonen Jukka
    Kopio: Alexander Petkov; op10@anonymised.com <mailto:op10@anonymised.com>;
    geoserver-users@lists.sourceforge.net
    <mailto:geoserver-users@lists.sourceforge.net>
    Aihe: Re: [Geoserver-users] WCS based on shapefiles?

    Rahkonen Jukka ha scritto:
     > Hi,
     >
     > I think that this is going too complicated with prerasterizing
     > vectors. Geoserver WMS can already do the rasterizing. I would
     > prepare well defined WMS requests with balanced bbox and image size,
     > save the images on disk and after that convert them to GeoTIFFs.
     > With Geoserver there is a need to make some simple system for
     > generating a world file for each GetMap request.

    GeoServer can generate GeoTIFF from WMS out of the box. The list
    of supported output formats probably grew a little since you
    last checked, here it is (there are some aliases in the middle):

            <Format>image/png</Format>
            <Format>application/atom xml</Format>
            <Format>application/atom+xml</Format>
            <Format>application/openlayers</Format>
            <Format>application/pdf</Format>
            <Format>application/rss xml</Format>
            <Format>application/rss+xml</Format>
            <Format>application/vnd.google-earth.kml</Format>
            <Format>application/vnd.google-earth.kml xml</Format>
            <Format>application/vnd.google-earth.kml+xml</Format>
            <Format>application/vnd.google-earth.kmz</Format>
            <Format>application/vnd.google-earth.kmz xml</Format>
            <Format>application/vnd.google-earth.kmz+xml</Format>
            <Format>atom</Format>
            <Format>image/geotiff</Format>
            <Format>image/geotiff8</Format>
            <Format>image/gif</Format>
            <Format>image/jpeg</Format>
            <Format>image/png8</Format>
            <Format>image/svg</Format>
            <Format>image/svg xml</Format>
            <Format>image/svg+xml</Format>
            <Format>image/tiff</Format>
            <Format>image/tiff8</Format>
            <Format>kml</Format>
            <Format>kmz</Format>
            <Format>openlayers</Format>
            <Format>rss</Format>

    However, even using GeoTiff you'd end up with a georeferenced
    RGBA image, whilst the usual vector rasterizing involves taking an
    attribute of interest and generating a raster whose cell values have
    that attribute. This is not possible with WMS, seems more the
    work of a WPS.

    Cheers
    Andrea

    --
    Andrea Aime
    OpenGeo - http://opengeo.org
    Expert service straight from the developers.

    ------------------------------

    ------------------------------------------------------------------------------

    ------------------------------

    _______________________________________________
    Geoserver-users mailing list
    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users

    End of Geoserver-users Digest, Vol 35, Issue 22
    ***********************************************

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

------------------------------------------------------------------------

------------------------------------------------------------------------------

------------------------------------------------------------------------

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

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

I looked at this a bit earlier; the Greek characters show up properly in
the OpenLayers preview, and when I look at the KML file in a text
editor. The problem is probably something along the lines of 'Google
Earth can only handle one character encoding, and you're not using that
one' but I'm not sure which encoding it needs to be. UTF-8 would
probably be a good guess.

Hope this helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Sun, 2009-04-05 at 22:44 -0600, Justin Deoliveira wrote:

Hi George,

It is quite probably a bug you have found. It would help to know what
backend data source is being used? Is this a database? a shapefile?

-Justin

George Tsolakis wrote:
> Hello to all,
>
> kml produced by my geoserver does not display non latin alphabet
> characters. :frowning:
>
> Example here
>
> http://195.251.177.229:8080/geoserver/wms/kml?layers=topp:arxaia_ola_wgs
>
> Normally It should display Greek names.
>
> Any solutions?
>
> On Sun, Apr 5, 2009 at 12:09 PM,
> <geoserver-users-request@lists.sourceforge.net
> <mailto:geoserver-users-request@lists.sourceforge.net>> wrote:
>
> Send Geoserver-users mailing list submissions to
> geoserver-users@lists.sourceforge.net
> <mailto: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
> <mailto:geoserver-users-request@lists.sourceforge.net>
>
> You can reach the person managing the list at
> geoserver-users-owner@lists.sourceforge.net
> <mailto: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. Re: WFS data probleme (Rahkonen Jukka)
> 2. Re: WFS data probleme (Andrea Aime)
> 3. Re: WCS based on shapefiles? (Alexander Petkov)
> 4. Re: WCS based on shapefiles? (Rahkonen Jukka)
> 5. Re: WCS based on shapefiles? (Andrea Aime)
> 6. Re: WCS based on shapefiles? (Rahkonen Jukka)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 4 Apr 2009 23:24:26 +0300
> From: "Rahkonen Jukka" <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
> Subject: Re: [Geoserver-users] WFS data probleme
> To: "Jimmy Aumard" <jimmy.aumard@anonymised.com
> <mailto:jimmy.aumard@anonymised.com>>
> Cc: geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> Message-ID:
> <CC197224AC75CE4DB23F739B16891B86E34237@anonymised.com
> <mailto:CC197224AC75CE4DB23F739B16891B86E34237@anonymised.com>>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> WFS version 1.0.0 does not officially support reprojecting the data.
> However, Geoserver gives this possibiolity as a vendor option. It
> is documented here:
> http://geoserver.org/display/GEOSDOC/WFS+vendor+parameters
>
> It looks like the format to be used in request is like
> &srsName="EPSG:4326"
> The way you have tried in your requests is wrong, Geoserver does not
> recognise it at all but just skips it. Therefore the first request
> works, because with it the bbox is in the native and advertised
> projection of your data.
>
> You can configure Geoserver to send the data out by default in
> EPSG:4326 if you want, withour reprojecting the original data. Then
> the EPSG:4326 bounding box should work without srsname parameter.
>
> -Jukka-
>
>
>
> -----Alkuper?inen viesti-----
> L?hett?j?: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
> <mailto:jimmy.aumard@anonymised.com>]
> L?hetetty: la 4.4.2009 21:48
> Vastaanottaja: Rahkonen Jukka
> Kopio: geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> Aihe: Re: [Geoserver-users] WFS data probleme
>
> Thanks! I have make test
>
> this request:
> http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0&gt;
> and this one it's ok
>
> and I try this one :
> http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196&gt;
> But they don't work :s
>
> When I make the datastore geoserver translate 47680.0 to
> -5.498977524054812
> when I push "generate" for BBOX
>
> I don't understand what is wrong because is geoserver who make
> translate, he
> make mistake?
>
>
> Jim
>
> 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
>
> > Hi,
> >
> > WFS SRS and bbox must be using the same projection and units. If
> output it
> > asked to be in EPSG:4326 then bbox must use degrees in wgs84. If
> output is
> > asked to be the French projection EPSG:27572 then bbox must be in
> meters,
> > because it is the unit for 27572. In your case using
> SRS=EPSG:4326 may
> > help. Unfortunately I do not know anything about Openlayers.
> >
> > -Jukka-
> >
> > Jimmy Aumard wrote:
> >
> >
> > Sorry I'm french and I don't understand what you said :s
> >
> > It's the unit of my BBOX is wrong?
> >
> > I must project my data in wgs84 to use wfs?
> >
> > Openlayers generate the BBOX automatically, I don't know if it's
> possible
> > to
> > change this parameter.
> >
> > Thanks
> >
> > Jim
> >
> > 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
> >
> > > Hi,
> > >
> > > Search from spatialreference.org <http://spatialreference.org>
> > > http://spatialreference.org/ref/epsg/27572/
> > > returns among other things:
> > > *WGS84 Bounds*: -5.2000, 42.2500, 8.2300, 51.1000
> > > *Projected Bounds*: -22841.3905, 1712212.6192, 1087335.9605,
> 2703971.1254
> > >
> > > You should use the projected units (meters) in the request
> instead of
> > > lon/lat bounding box.
> > >
> > > -Jukka-
> > >
> > >
> > > ------------------------------
> > > *L?hett?j?:* Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
> <mailto:jimmy.aumard@anonymised.com>]
> > > *L?hetetty:* 3. huhtikuuta 2009 16:53
> > >
> > > *Vastaanottaja:* Rahkonen Jukka
> > > *Kopio:* geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> > > *Aihe:* Re: [Geoserver-users] WFS data probleme
> > >
> > > Thanks it's ok
> > >
> > > That work if I don't specify the BBOX parameter.
> > >
> > > But I use Openlayers to make a map with wfs layers and when it make
> > > requests he specify the BBOX.
> > >
> > > this is my function:
> > > var wfs = new OpenLayers.Layer.WFS(
> > > "States WFS","http://localhost:8080/geoserver/wfs&quot;,
> > > {typename: 'topp:france'},
> > > {
> > > layers: 'france',
> > > featureNS: 'http://www.openplans.org/topp’,
> > > style:fStyle,
> > > extractAttributes: true
> > >
> > > },
> > > {'reproject': true}
> > > );
> > >
> > > I don't show data on my map. Firebug show me the request and
> BBOX is
> > > specify.
> > >
> > > :s
> > >
> > > Jim
> > >
> > > 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
> > >
> > >> Hi,
> > >>
> > >> I believe that everything is OK but Geoserver just does not
> find any
> > data
> > >> from the BBOX of the request.
> > >> I guess that problem is close to this point:
> > >> *&SRS=EPSG=27572&*
> > >> *BBOX=-6.091001143333474,41.347434706580835,*
> > >> *10.812650506643369,51.089559943887004*
> > >> *SRS=EPSG=27572 *is obviously wrong, EPSG:27572 should be
> better. Or
> > >> just leave the SRS and BBOX out and ask for the whole feature type
> > first,
> > >> perhaps with maxFeatures parameter,
> > >>
> > >> -Jukka-
> > >>
> > >> ------------------------------
> > >> *L?hett?j?:* Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
> <mailto:jimmy.aumard@anonymised.com>]
> > >> *L?hetetty:* 3. huhtikuuta 2009 16:12
> > >>
> > >> *Vastaanottaja:* Rahkonen Jukka
> > >> *Kopio:* geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> > >> *Aihe:* Re: [Geoserver-users] WFS data probleme
> > >>
> > >>
> > >> I have my data on the getCapabilities:
> > >>
> > >> <FeatureType>
> > >> <Name>topp:france</Name>
> > >> <Title>france_Type</Title>
> > >> <Abstract>Generated from bdd</Abstract>
> > >> -
> > >> <ows:Keywords>
> > >> <ows:Keyword>france</ows:Keyword>
> > >> <ows:Keyword>bdd</ows:Keyword>
> > >> </ows:Keywords>
> > >> <DefaultSRS>urn:x-ogc:def:crs:EPSG:27572</DefaultSRS>
> > >> -
> > >> <ows:WGS84BoundingBox>
> > >> <ows:LowerCorner>-6.091001143333474
> 41.347434706580835</ows:LowerCorner>
> > >> <ows:UpperCorner>10.812650506643369
> 51.089559943887004</ows:UpperCorner>
> > >> </ows:WGS84BoundingBox>
> > >> </FeatureType>
> > >>
> > >>
> > >>
> > >> My request is
> > >>
> >
> http://localhost:8080/geoserver/wfs?typename=france&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG=27572&BBOX=-6.091001143333474,41.347434706580835,10.812650506643369,51.089559943887004
> <http://localhost:8080/geoserver/wfs?typename=france&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG=27572&BBOX=-6.091001143333474,41.347434706580835,10.812650506643369,51.089559943887004&gt;
> > >>
> > >> and the result is
> > >> <wfs:FeatureCollection xsi:schemaLocation="
> > http://www.openplans.org/topp
> > >>
> >
> http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp:france
> <http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp:france&gt;
> > >> http://www.opengis.net/wfs
> > >> http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
> > >> -
> > >> <gml:boundedBy>
> > >> <gml:null>unknown</gml:null>
> > >> </gml:boundedBy>
> > >> </wfs:FeatureCollection>
> > >>
> > >> Why I don't have the data? Sory if I'm not clear but I'm
> French and I
> > >> start with this technology
> > >>
> > >> Thanks for your help.
> > >>
> > >> Jim
> > >>
> > >> 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
> > >>
> > >>> There should be no difference. How are you exactly trying
> to access
> > >>> your data in wfs? Do you see the feature type in WFS
> GetCapabilities
> > >>> document? If yes, what happens when you throw getFeature
> request?
> > >>>
> > >>> -Jukka Rahkonen-
> > >>>
> > >>> ------------------------------
> > >>> *L?hett?j?:* Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
> <mailto:jimmy.aumard@anonymised.com>]
> > >>> *L?hetetty:* 3. huhtikuuta 2009 15:20
> > >>> *Vastaanottaja:* Rahkonen Jukka
> > >>> *Kopio:* geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> > >>> *Aihe:* Re: [Geoserver-users] WFS data probleme
> > >>>
> > >>> Thanks for your answer,
> > >>>
> > >>> But before the import in geoserver does shapefiles need to be
> > >>> particularly formated because I can access to my data in wms
> but not
> > in
> > >>> wfs.
> > >>> I access to "states" shapefile in wfs.
> > >>>
> > >>> Jim.
> > >>>
> > >>>
> > >>>
> > >>> 2009/4/3 Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
> > >>>
> > >>>> Hi,
> > >>>>
> > >>>> It is for sure possible to use shapefiles as input for
> Geoserver, and
> > it
> > >>>> is possible also to import the shapefile to PostGIS first
> and use the
> > >>>> resulting database table as input for Geoserver. Both ways
> you can
> > use the
> > >>>> data through WFS. Creating WFS feature type happens almost
> > automatically it
> > >>>> you just follow the documentation and create DataStore
> first, then
> > >>>> FeatureType.
> > >>>>
> > >>>> -Jukka Rahkonen-
> > >>>>
> > >>>> ------------------------------
> > >>>> *L?hett?j?:* Jimmy Aumard [mailto:jimmy.aumard@anonymised.com
> <mailto:jimmy.aumard@anonymised.com>]
> > >>>> *L?hetetty:* 3. huhtikuuta 2009 14:48
> > >>>> *Vastaanottaja:* geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> > >>>> *Aihe:* [Geoserver-users] WFS data probleme
> > >>>>
> > >>>> Hi!
> > >>>>
> > >>>> I want to know if it's possible to make a wfs's request on a
> shapefile
> > >>>> in postgis with geoserver and to know if data must be
> prepared to the
> > wfs.
> > >>>>
> > >>>> Thanks!
> > >>>>
> > >>>>
> > >>>
> > >>
> > >
> >
> >
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 04 Apr 2009 22:33:53 +0200
> From: Andrea Aime <aaime@anonymised.com <mailto:aaime@anonymised.com>>
> Subject: Re: [Geoserver-users] WFS data probleme
> To: Jimmy Aumard <jimmy.aumard@anonymised.com
> <mailto:jimmy.aumard@anonymised.com>>
> Cc: Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>,
> geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> Message-ID: <49D7C431.4080507@anonymised.com
> <mailto:49D7C431.4080507@anonymised.com>>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Jimmy Aumard ha scritto:
> > Thanks! I have make test
> >
> > this request:
> >
> http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0&gt;
> >
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=47680.0,1620431.0,1197822.0,2677441.0&gt;&gt;
> > and this one it's ok
> >
> > and I try this one :
> >
> http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196&gt;
> >
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&EPSG=27572&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196&gt;&gt;
> > But they don't work :s
> >
> > When I make the datastore geoserver translate 47680.0 to
> > -5.498977524054812 when I push "generate" for BBOX
> >
> > I don't understand what is wrong because is geoserver who make
> > translate, he make mistake?
>
> Nope, your request is invalid in a couple of ways.
> First, the bbox that GeoServer shows you in the configuration
> page is always the lat/lon one, no matter what your native
> SRS is, because OGC pretends we publish at least a lat/lon
> bbox for each layer (thus that bbox _must_ be calculated).
>
> The first error is that the two requests are using a parameter
> that does not exist in WFS, &EPSG. WFS 1.0 has officially
> no reprojection abilities, but GeoServer supports the
> same parameter as WFS 1.1 as a vendor option.
> The second error is that your second request, in case you
> really need to use WGS84, does not specify it as the
> SRS in the bbox.
>
> Two valid requests are:
> http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&BBOX=47680.0,1620431.0,1197822.0,2677441.0
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&BBOX=47680.0,1620431.0,1197822.0,2677441.0&gt;
> (data in the native srs, bbox in the native srs)
>
> http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&srsName=EPSG:4326&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196,EPSG:4326
> <http://localhost:8080/geoserver/wfs?typename=dep_france_dom&VERSION=1.0.0&REQUEST=GetFeature&srsName=EPSG:4326&BBOX=-5.498977524054812,41.347434706580835,10.812650506643369,51.089144192296196,EPSG:4326&gt;
> (asking the data to be reprojected in 4326, notice how I specified the
> spatial reference system for the bbox too).
>
> Hope this helps
> Cheers
> Andrea
>
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 4 Apr 2009 17:23:55 -0600
> From: Alexander Petkov <greenkov@anonymised.com <mailto:greenkov@anonymised.com>>
> Subject: Re: [Geoserver-users] WCS based on shapefiles?
> To: op10@anonymised.com <mailto:op10@anonymised.com>
> Cc: geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> Message-ID:
> <e32c6ce00904041623h2ba5674aqd117ff05d5255f26@anonymised.com
> <mailto:e32c6ce00904041623h2ba5674aqd117ff05d5255f26@anonymised.com>>
> Content-Type: text/plain; charset=UTF-8
>
> On Sat, Apr 4, 2009 at 10:56 AM, <op10@anonymised.com
> <mailto:op10@anonymised.com>> wrote:
> >
> > Both. I know how to set up a WMS, but it is not clear how to
> create a WCS
> > server that allows DOWNLOADing of GeoTiff data which are generated
> > from vector data.
> > Op10
>
> You'd have to rasterize your vector data in advance, prior to serving
> it, and configure the rasters as Geoserver coverages.
> GDAL has a vector to raster utility:
>
> http://gdal.org/gdal_rasterize.html
>
> Alex
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 5 Apr 2009 10:29:48 +0300
> From: "Rahkonen Jukka" <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
> Subject: Re: [Geoserver-users] WCS based on shapefiles?
> To: "Alexander Petkov" <greenkov@anonymised.com
> <mailto:greenkov@anonymised.com>>, <op10@anonymised.com
> <mailto:op10@anonymised.com>>
> Cc: geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> Message-ID:
> <CC197224AC75CE4DB23F739B16891B86E34239@anonymised.com
> <mailto:CC197224AC75CE4DB23F739B16891B86E34239@anonymised.com>>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I think that this is going too complicated with prerasterizing
> vectors. Geoserver WMS can already do the rasterizing. I would
> prepare well defined WMS requests with balanced bbox and image size,
> save the images on disk and after that convert them to GeoTIFFs.
> With Geoserver there is a need to make some simple system for
> generating a world file for each GetMap request.
>
> With Mapserver your task would be simple. Just configure an
> additional GeoTIFF output format in the mapfile and then Mapserver
> could deliver directly Geotiffs with WMS requests.
>
> -Jukka Rahkonen-
>
> Alexander Petkov wrote:
>
> > On Sat, Apr 4, 2009 at 10:56 AM, <op10@anonymised.com
> <mailto:op10@anonymised.com>> wrote:
> >>
> >> Both. I know how to set up a WMS, but it is not clear how to
> create a WCS
> >> server that allows DOWNLOADing of GeoTiff data which are generated
> >> from vector data.
> >> Op10
>
> > You'd have to rasterize your vector data in advance, prior to serving
> > it, and configure the rasters as Geoserver coverages.
> > GDAL has a vector to raster utility:
>
> > http://gdal.org/gdal_rasterize.html
>
> > Alex
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 05 Apr 2009 09:51:53 +0200
> From: Andrea Aime <aaime@anonymised.com <mailto:aaime@anonymised.com>>
> Subject: Re: [Geoserver-users] WCS based on shapefiles?
> To: Rahkonen Jukka <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
> Cc: geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>, Alexander Petkov
> <greenkov@anonymised.com <mailto:greenkov@anonymised.com>>
> Message-ID: <49D86319.8000604@anonymised.com
> <mailto:49D86319.8000604@anonymised.com>>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Rahkonen Jukka ha scritto:
> > Hi,
> >
> > I think that this is going too complicated with prerasterizing
> > vectors. Geoserver WMS can already do the rasterizing. I would
> > prepare well defined WMS requests with balanced bbox and image size,
> > save the images on disk and after that convert them to GeoTIFFs.
> > With Geoserver there is a need to make some simple system for
> > generating a world file for each GetMap request.
>
> GeoServer can generate GeoTIFF from WMS out of the box. The list
> of supported output formats probably grew a little since you
> last checked, here it is (there are some aliases in the middle):
>
> <Format>image/png</Format>
> <Format>application/atom xml</Format>
> <Format>application/atom+xml</Format>
> <Format>application/openlayers</Format>
> <Format>application/pdf</Format>
> <Format>application/rss xml</Format>
> <Format>application/rss+xml</Format>
> <Format>application/vnd.google-earth.kml</Format>
> <Format>application/vnd.google-earth.kml xml</Format>
> <Format>application/vnd.google-earth.kml+xml</Format>
> <Format>application/vnd.google-earth.kmz</Format>
> <Format>application/vnd.google-earth.kmz xml</Format>
> <Format>application/vnd.google-earth.kmz+xml</Format>
> <Format>atom</Format>
> <Format>image/geotiff</Format>
> <Format>image/geotiff8</Format>
> <Format>image/gif</Format>
> <Format>image/jpeg</Format>
> <Format>image/png8</Format>
> <Format>image/svg</Format>
> <Format>image/svg xml</Format>
> <Format>image/svg+xml</Format>
> <Format>image/tiff</Format>
> <Format>image/tiff8</Format>
> <Format>kml</Format>
> <Format>kmz</Format>
> <Format>openlayers</Format>
> <Format>rss</Format>
>
> However, even using GeoTiff you'd end up with a georeferenced
> RGBA image, whilst the usual vector rasterizing involves taking an
> attribute of interest and generating a raster whose cell values have
> that attribute. This is not possible with WMS, seems more the
> work of a WPS.
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 5 Apr 2009 12:09:04 +0300
> From: "Rahkonen Jukka" <Jukka.Rahkonen@anonymised.com
> <mailto:Jukka.Rahkonen@anonymised.com>>
> Subject: Re: [Geoserver-users] WCS based on shapefiles?
> To: "Andrea Aime" <aaime@anonymised.com <mailto:aaime@anonymised.com>>
> Cc: geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>, Alexander Petkov
> <greenkov@anonymised.com <mailto:greenkov@anonymised.com>>
> Message-ID:
> <CC197224AC75CE4DB23F739B16891B86E3423A@anonymised.com
> <mailto:CC197224AC75CE4DB23F739B16891B86E3423A@anonymised.com>>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> Sorry, I must have one day a look at Geoserver as WMS server as
> well, not only WFS.
> If the final goal is to have GeoTIFFs then one alternative could be
> to use GDAL as WMS client.
> For me this looks interesting:
> http://gdal.org/frmt_wms.html
>
> -Jukka-
>
> -----Alkuper?inen viesti-----
> L?hett?j?: Andrea Aime [mailto:aaime@anonymised.com
> <mailto:aaime@anonymised.com>]
> L?hetetty: su 5.4.2009 10:51
> Vastaanottaja: Rahkonen Jukka
> Kopio: Alexander Petkov; op10@anonymised.com <mailto:op10@anonymised.com>;
> geoserver-users@lists.sourceforge.net
> <mailto:geoserver-users@lists.sourceforge.net>
> Aihe: Re: [Geoserver-users] WCS based on shapefiles?
>
> Rahkonen Jukka ha scritto:
> > Hi,
> >
> > I think that this is going too complicated with prerasterizing
> > vectors. Geoserver WMS can already do the rasterizing. I would
> > prepare well defined WMS requests with balanced bbox and image size,
> > save the images on disk and after that convert them to GeoTIFFs.
> > With Geoserver there is a need to make some simple system for
> > generating a world file for each GetMap request.
>
> GeoServer can generate GeoTIFF from WMS out of the box. The list
> of supported output formats probably grew a little since you
> last checked, here it is (there are some aliases in the middle):
>
> <Format>image/png</Format>
> <Format>application/atom xml</Format>
> <Format>application/atom+xml</Format>
> <Format>application/openlayers</Format>
> <Format>application/pdf</Format>
> <Format>application/rss xml</Format>
> <Format>application/rss+xml</Format>
> <Format>application/vnd.google-earth.kml</Format>
> <Format>application/vnd.google-earth.kml xml</Format>
> <Format>application/vnd.google-earth.kml+xml</Format>
> <Format>application/vnd.google-earth.kmz</Format>
> <Format>application/vnd.google-earth.kmz xml</Format>
> <Format>application/vnd.google-earth.kmz+xml</Format>
> <Format>atom</Format>
> <Format>image/geotiff</Format>
> <Format>image/geotiff8</Format>
> <Format>image/gif</Format>
> <Format>image/jpeg</Format>
> <Format>image/png8</Format>
> <Format>image/svg</Format>
> <Format>image/svg xml</Format>
> <Format>image/svg+xml</Format>
> <Format>image/tiff</Format>
> <Format>image/tiff8</Format>
> <Format>kml</Format>
> <Format>kmz</Format>
> <Format>openlayers</Format>
> <Format>rss</Format>
>
> However, even using GeoTiff you'd end up with a georeferenced
> RGBA image, whilst the usual vector rasterizing involves taking an
> attribute of interest and generating a raster whose cell values have
> that attribute. This is not possible with WMS, seems more the
> work of a WPS.
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
>
>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
>
>
> ------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> <mailto:Geoserver-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> End of Geoserver-users Digest, Vol 35, Issue 22
> ***********************************************
>
>
>
>
> --
> ------------------------------------------------------
> Γεώργιος Τσολάκης - Περιβαλλοντολόγος
> Γραφείο Περιβαλλοντικών Μελετών
> Ζήνωνος 57. Περιστέρι. Αθήνα
> tel: +30 210 5727615
> fax: +30 210 5727995
> mobile: + 30 6977 158693
> email: gtsolakis@anonymised.com <mailto:gtsolakis@anonymised.com>
> URL : www.mpe.gr <http://www.mpe.gr>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users