Hi,
I've been trying to use this:
http://www.gdal.org/frmt_wms.html
I've tried both with a tile server - and with a WMS service (as it
seemed like an easy way to get caching)
It basically works, but I have problems with the quality of the image
that mapserver produces
It seems that mapserver req
2010/3/15 James Perrins
>
> It seems that mapserver requests too many tiles / images from WMS for
> the current screen image required - it then re-samples this resulting
> in poor quality being served through mapserver (and often with too
> much detail for the size returned meaning its still more
Thanks Tamas,
PROCESSING "OVERSAMPLE_RATIO=1" seems to have greatly improved things
- especially for the tile server- I didn't see this in the
documentation was I looking in the wrong place ? I presume 1 means
don't oversize 2.0 means get double etc
Do you know what the SizeX does for WMS as w
2010/3/15 James Perrins
>
> Do you know what the SizeX does for WMS as well ?
>
>
SizeX,SizeY corresponds to the raster dimensions in pixels
Best regards,
Tamas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/ma
Hi guys,
I have an issue trying to import OSM data on PostGIS.
I download an xml file from the CloudMade site.
I use this script to import the file into postgis (on Windows, latlong
projection):
./osm2pgsql -U userId -W -H myhost -d maps -p myprefix -S default.style -c
-l data.osm.bz2
This w
Hi!
I have pointed out the missing documentation of the OVERSAMPLING_RATIO
process directive before, and even made a ticket. As the directive enhances
raster quality a lot in different situations I think it really deserves to
be documented. Hopefully some with committing rights will pick it up so
Thanks Tamas - but I'm still confused..
With a WMS call I can specify the BlockSize - which I believe controls
the size of the tiles that I get back from the WMS service
If I have set blocksize to be 256 then if I am requesting a WMS image
to fill a 512x512 space on the screen and I have the
OVER
Hi,
there is an HowTo: http://trac.osgeo.org/mapserver/wiki/RenderingOsmData
In your Mapfile, you have to state the Projection like the following:
Map
PROJECTION
"init=epsg:4326"
END
[...]
LAYER
METADATA
"WMS_TITLE" "Parks"
END
CLASSITEM "leisure"
CONNECTION "user=
Hi,
I've got an map which contains some generated Layers using PHP
Mapscript. How do I serve these Layers as wms?
I read http://mapserver.org/ogc/mapscript.html but I don't really
understand at which place i could modify the map itself.
Thomasch
_
We all know that benchmarking is no easy task. Benchmarking when you
don't have the hardware in the first place makes things just a bit
more difficult.
I know this is not exactly the same thing. But cloud services, like
Amazon EC2, which give you access to a number of base configurations,
with d
Hi all,
I have some imagery that is in UTM that contains an alpha band that
masks out areas with no data. When I use MapServer to reproject it to
epsg:4326, the masked out area looks good if I set RESAMPLE=NEAREST on
the layer. If I change the RESAMPLE option to BILINEAR or AVERAGE I
get black s
Jason Beverage wrote:
Hi all,
I have some imagery that is in UTM that contains an alpha band that
masks out areas with no data. When I use MapServer to reproject it to
epsg:4326, the masked out area looks good if I set RESAMPLE=NEAREST on
the layer. If I change the RESAMPLE option to BILINEAR
Thanks for your hint!
I tried to do that but without success.
The system used to work with epsg:4326 but in our project we need a
GoogleMaps like projection and we chose epsg:900913.
These are the steps I followed to reimport everything for the new
projection:
1) download osm xml file from Clou
Hi JAmes
I believe sizex,sizey refers to the size a given pixel represents on the
ground. eg. a 1:25,000 scale orthophoto may be represented with each pixel =
2.5m on the ground.
Here is an example from my mapfile:
LAYER
NAME nz50ktm
GROUP "Toposcans"
TYPE RASTER
STATUS ON
CONNEC
Hi Mulone,
I'm not familiar with OpenLayers - in a quick search I found
http://trac.openlayers.org/wiki/SphericalMercator
If the Map itself (without using wms) is displayed correctly, did you
try another WMS Client?
Thomasch
___
mapserver-users mai
Hi Jason
That's not unexpected. RESAMPLE=NEAREST preserves the "nodata" vales used in
the mask. BILINEAR or AVERAGE combine values from adjoining pixels, so the
"nodata" pixels get some other value.
regards,
Robert
>>> Jason Beverage 16/03/2010 4:53 a.m. >>>
Hi all,
I have some imagery th
Hey again,
Some more information, the file I was using was an ECW I converted from a
tif. The black splotches appear if I use the ECW, but if I use the original
tif file I don't see them.
However, when using AVERAGE or BILINEAR, it appears as if the alpha values
are either completely transparent
Hi Jason
Well, ECW use wavelet compression, which is lossy, and data values can get
changed slightly.
regards,
Robert
>>> Jason Beverage 16/03/2010 10:27 a.m. >>>
Hey again,
Some more information, the file I was using was an ECW I converted from a tif.
The black splotches appear if I use
18 matches
Mail list logo