Thanks Andrea, it is exactly the case, the problem we are facing is that we use
the same raster to overlay on a map and to check if a specified point is on the
"red" part of the raster or on the "white" one.
The issue we have is that sometimes the results are different (obviously the
check for the specified point is always right, while the visual result can be
affected by "artifacts").
I assume there is no way to force a rescale before the reprojection, and that
the only solutions would be either to reproject and rescale the whole tiff to a
new resolution/reference or to vectorize the raster into huge rectangles: am I
right?
Cheers
Marco Papetti
From: [email protected] [mailto:[email protected]] On Behalf Of Andrea
Aime
Sent: sabato 1 settembre 2012 9.55
To: Papetti, Marco
Cc: [email protected]
Subject: Re: [Geoserver-users] Raster 23032 -> 900913 reprojection issue (no
oblique pixels)
On Fri, Aug 31, 2012 at 6:15 PM, Papetti, Marco
<[email protected]<mailto:[email protected]>> wrote:
Hi,
I got a doubt about geoserver reprojecting raster from EPSG:23032 to
EPSG:900913 correctly.
Here is the output of part of the reprojection in gwc layer demo, using
EPSG:900913 and png as output parameter: the source is just using 2 values, and
I use a simple RasterSymbolizer to style it:
https://www.evernote.com/shard/s22/sh/23b9838f-f54a-4bbb-a083-00225c269090/89af1f9eb92ddbbc8d6d9a0687311203
The second screenshot is from QuantumGIS, the same input, using 900913 as
project SR and checking "enable reproject on the fly" flag.
http://www.evernote.com/shard/s22/sh/e0f6a78f-f771-47f4-9e05-f338397ff9e3/35702c91f3a993b78377ebd1cbed53cf
It includes "oblique" pixel, which now seems normal to me, considering the
reprojection, but that are not included in the geoserver generated view.
Am I missing something in the layer/store configuration.
The output has large blocks of data, are you going beyond the native resolution
of the raster, so that a pixel
in the original image is inflated like 50 times?
GeoServer does not rescale the data before reprojecting it, it first reproject
and then scales up, which may account
for the difference.
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the
intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any
part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this
message.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users