[mapserver-users] project on the fly through mapserver or openlayers?

2010-07-14 Thread Kiks

Hi to all,
I'm using MapServer and OpenLayers in my Webgis application.
I'm at the first steps, and I was thinking about this...

If I'm not going bad, both OpenLayers and Mapserver have on the fly project
transformation functionality.
With Mapserver you can reproject also raster images, that OpenLayers can't.

If all this is correct, I wondered if, for performance issues, it's better
to reproject vectorial drawings with MapServer or OpenLayers.

thanks to all,
Kiks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/project-on-the-fly-through-mapserver-or-openlayers-tp5291876p5291876.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] multiple map layers with different scales

2010-07-14 Thread easyl

I have multiple map layers with different scales.
 
For example,
+-+
|  A+-+  |
|| B +--+ | 
||| C   |  |
||+--+ |
||  |   |
|++   |
+-+

A   1:1000 
B   1:500
C   1:100

How can I setup them in mapserver, so that I can render the map with
different detail.

For example:

given a scale value from 1:100
The map is rendered with:
+-+
|  A+-+  |
|| B +--+ | 
||| C   |  |
||+--+ |
||  |   |
|++   |
+-+


given a scale value from 1:200
The map is rendered with:
+-+
|  A+-+  |
|| B   |   | 
||  |   |
||  |   |
||  |   |
|++   |
+-+

given a scale value from 1:700
The map is rendered with:
+-+
|  A   |
|   | 
|   |
|   |
|   |
|   |
+-+
 
Is that possible?
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/multiple-map-layers-with-different-scales-tp5292120p5292120.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Question about oracle spatial configuration change

2010-07-14 Thread David Alda Fernandez de Lezea
Hi list,

We were working with mapserver 5.6.1 and oracle spatial, and we have change the 
user (the new one has less privileges - it cannot modify anything stored in the 
DB) that connects to oracle spatial, and now we cannot connect to the layers 
stored in oracle. We get the following message:

[Wed Jul 14 14:01:29 2010].755000 CGI Request 1 on process 2648
[Wed Jul 14 14:01:30 2010].38 msOracleSpatialLayerGetItems(): Query error. 
Cannot retrieve column list
[Wed Jul 14 14:01:30 2010].38 msDrawMap(): Image handling error. Failed to 
draw layer named 'provincias'.
[Wed Jul 14 14:01:30 2010].38 mapserv request processing time (msLoadMap 
not incl.): 0.625s
[Wed Jul 14 14:01:30 2010].38 msFreeMap(): freeing map at 019AB590.
[Wed Jul 14 14:01:32 2010].52 CGI Request 1 on process 1924
[Wed Jul 14 14:01:32 2010].661000 msOracleSpatialLayerGetItems(): Query error. 
Cannot retrieve column list
[Wed Jul 14 14:01:32 2010].661000 msDrawMap(): Image handling error. Failed to 
draw layer named 'provincias'.
[Wed Jul 14 14:01:32 2010].661000 mapserv request processing time (msLoadMap 
not incl.): 0.141s
[Wed Jul 14 14:01:32 2010].661000 msFreeMap(): freeing map at 019AB590.
[Wed Jul 14 14:01:33 2010].36000 CGI Request 1 on process 2408
[Wed Jul 14 14:01:33 2010].161000 msOracleSpatialLayerGetItems(): Query error. 
Cannot retrieve column list
[Wed Jul 14 14:01:33 2010].161000 msDrawMap(): Image handling error. Failed to 
draw layer named 'provincias'.
[Wed Jul 14 14:01:33 2010].161000 mapserv request processing time (msLoadMap 
not incl.): 0.125s
[Wed Jul 14 14:01:33 2010].161000 msFreeMap(): freeing map at 019AB590.
[Wed Jul 14 14:01:33 2010].505000 CGI Request 1 on process 2064
[Wed Jul 14 14:01:33 2010].677000 msOracleSpatialLayerGetItems(): Query error. 
Cannot retrieve column list
[Wed Jul 14 14:01:33 2010].677000 msDrawMap(): Image handling error. Failed to 
draw layer named 'provincias'.
[Wed Jul 14 14:01:33 2010].677000 mapserv request processing time (msLoadMap 
not incl.): 0.172s
[Wed Jul 14 14:01:33 2010].677000 msFreeMap(): freeing map at 019AB590.
[Wed Jul 14 14:01:33 2010].989000 CGI Request 1 on process 3216
[Wed Jul 14 14:01:34 2010].13 msOracleSpatialLayerGetItems(): Query error. 
Cannot retrieve column list
[Wed Jul 14 14:01:34 2010].13 msDrawMap(): Image handling error. Failed to 
draw layer named 'provincias'.
[Wed Jul 14 14:01:34 2010].13 mapserv request processing time (msLoadMap 
not incl.): 0.141s
[Wed Jul 14 14:01:34 2010].13 msFreeMap(): freeing map at 019AB590.

Do we have to refresh something or do somethign else?

Layer config:

CONNECTIONTYPE oraclespatial
CONNECTION "newuser/newp...@ora10gex"

If configure the layer with the old user, it works.
 
Thanks.
 
Un saludo,
 
··

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··
Tlfnos.: 945-00-32-95 Fax: 945-00.32.90
··
email: da...@ikt.esweb: www.ikt.es
··
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MAXSCALEDENOM [scale_field]

2010-07-14 Thread Daniel Degasperi

Hi,
I've tried to read the MAXSCALEDENOM value from a attribute in my 
datasource, but mapserver throw's a parsing error.

Probably because such feature does not exist in mapserver.

Are there any intentions to implement this?
It could be interesting for layers, whose data has different priorities 
but the same styling.

With this feature I can avoid repeating the classes for every priority.

Best regards,
Daniel
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] mapserver.org outage

2010-07-14 Thread Howard Butler
All,

The machine that houses mapserver.org was hacked recently, and it is unknown 
when it will be back up.  We have temporarily moved the website to 
http://www2.mapserver.org/ and the DNS for the main address 
(http://www.mapserver.org) has been repointed to that instance.  It will take 
at least 6 hours for the DNS to update, and you can use the www2 address in the 
meantime. 

Howard___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Question about oracle spatial configuration change

2010-07-14 Thread Alan Boudreault
Normally, you shouldn't have to change anything else. Have you tried to 
connect to the DB with your new user from the oracle sqlplus and did a "select 
* from " ? 

Thanks,
Alan

On July 14, 2010 08:07:05 am David Alda Fernandez de Lezea wrote:
> Hi list,
> 
> We were working with mapserver 5.6.1 and oracle spatial, and we have change
>  the user (the new one has less privileges - it cannot modify anything
>  stored in the DB) that connects to oracle spatial, and now we cannot
>  connect to the layers stored in oracle. We get the following message:
> 
> [Wed Jul 14 14:01:29 2010].755000 CGI Request 1 on process 2648
> [Wed Jul 14 14:01:30 2010].38 msOracleSpatialLayerGetItems(): Query
>  error. Cannot retrieve column list [Wed Jul 14 14:01:30 2010].38
>  msDrawMap(): Image handling error. Failed to draw layer named
>  'provincias'. [Wed Jul 14 14:01:30 2010].38 mapserv request processing
>  time (msLoadMap not incl.): 0.625s [Wed Jul 14 14:01:30 2010].38
>  msFreeMap(): freeing map at 019AB590. [Wed Jul 14 14:01:32 2010].52
>  CGI Request 1 on process 1924
> [Wed Jul 14 14:01:32 2010].661000 msOracleSpatialLayerGetItems(): Query
>  error. Cannot retrieve column list [Wed Jul 14 14:01:32 2010].661000
>  msDrawMap(): Image handling error. Failed to draw layer named
>  'provincias'. [Wed Jul 14 14:01:32 2010].661000 mapserv request processing
>  time (msLoadMap not incl.): 0.141s [Wed Jul 14 14:01:32 2010].661000
>  msFreeMap(): freeing map at 019AB590. [Wed Jul 14 14:01:33 2010].36000 CGI
>  Request 1 on process 2408
> [Wed Jul 14 14:01:33 2010].161000 msOracleSpatialLayerGetItems(): Query
>  error. Cannot retrieve column list [Wed Jul 14 14:01:33 2010].161000
>  msDrawMap(): Image handling error. Failed to draw layer named
>  'provincias'. [Wed Jul 14 14:01:33 2010].161000 mapserv request processing
>  time (msLoadMap not incl.): 0.125s [Wed Jul 14 14:01:33 2010].161000
>  msFreeMap(): freeing map at 019AB590. [Wed Jul 14 14:01:33 2010].505000
>  CGI Request 1 on process 2064
> [Wed Jul 14 14:01:33 2010].677000 msOracleSpatialLayerGetItems(): Query
>  error. Cannot retrieve column list [Wed Jul 14 14:01:33 2010].677000
>  msDrawMap(): Image handling error. Failed to draw layer named
>  'provincias'. [Wed Jul 14 14:01:33 2010].677000 mapserv request processing
>  time (msLoadMap not incl.): 0.172s [Wed Jul 14 14:01:33 2010].677000
>  msFreeMap(): freeing map at 019AB590. [Wed Jul 14 14:01:33 2010].989000
>  CGI Request 1 on process 3216
> [Wed Jul 14 14:01:34 2010].13 msOracleSpatialLayerGetItems(): Query
>  error. Cannot retrieve column list [Wed Jul 14 14:01:34 2010].13
>  msDrawMap(): Image handling error. Failed to draw layer named
>  'provincias'. [Wed Jul 14 14:01:34 2010].13 mapserv request processing
>  time (msLoadMap not incl.): 0.141s [Wed Jul 14 14:01:34 2010].13
>  msFreeMap(): freeing map at 019AB590.
> 
> Do we have to refresh something or do somethign else?
> 
> Layer config:
> 
> CONNECTIONTYPE oraclespatial
> CONNECTION "newuser/newp...@ora10gex"
> 
> If configure the layer with the old user, it works.
> 
> Thanks.
> 
> Un saludo,
> 
> ···
> ···
> 
> David Alda Fernández de Lezea
> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
> 
> IKT
> Granja Modelo s/n · 01192 · Arkaute (Araba)
> 
> ···
> ··· Tlfnos.: 945-00-32-95 Fax: 945-00.32.90
> ···
> ··· email: da...@ikt.esweb: www.ikt.es
>  ··
>  ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Windows 2008; Java; 64 Bit

2010-07-14 Thread umn-ms
Hi

I think I have analyzed the problem: Bug in Allocating/freeing 
char-Arrays:
trac.osgeo.org/mapserver/ticket/3491 

I'm not quite shure, wether I shall spend time in a workaround or somebody
can provide a quick solution.

Bye, Benedikt

Tamas Szekeres  schrieb am 13.07.2010 16:43:53:

> Tamas Szekeres  
> 13.07.2010 16:52
> 
> An
> 
> umn...@hydrotec.de
> 
> Kopie
> 
> mapserver-users@lists.osgeo.org
> 
> Thema
> 
> Re: [mapserver-users] Windows 2008; Java; 64 Bit
> 
> Benedikt,
> 
> It may be a bug in the mapscript Java bindings, feel free to create a 
ticket
> for this issue.
> 
> Best regards,
> 
> Tamas
> 
> 
> 

> 2010/7/13 
> I want to use Mapserver in TomCat6; Windows 2008; 64 Bit; Sun-Java 
1.6..21 
> Mapserver compiled by Tamas Szekeres: release-1500-x64-gdal-1-7-
> mapserver-5-6.zip (vbkto.dyndns.org/sdk/Default.aspx ) 
> 
> Unfortunately the Java-VM crashes! 
> 
> To reduce the problem I tried example-programs in \mapscript
> \java\examples\ 
> - MakePoint runs without error. 
> - QueryByAttribute results in the same crash as the "big-tomcat-
> environment" does. 
> 
> As far as I can see, the crash occurs every time, when a string-
> parameter ist provided to the Mapserver API. 
> I think, that the VM-crash occurs, when the function 
> "JNU_GetStringNativeChars(jenv, jarg1)" from mapscript_wrap.c 
> is called. 
> 
> Surprinsingly the error occurs with other  release-XXX-packages 
fromTamas too.
> 
> It even occurs, when I use a 32-Bit-Environment an MS4w on this 
computer. 
> 
> I attach an hs_err_pid-.log-File. 
> 
> Does anybody has any advice? 
> 
> Greetings, Benedikt 
> 
> 
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] project on the fly through mapserver or openlayers?

2010-07-14 Thread Fawcett, David (MPCA)
When possible, the best performance comes from preprocessing the data to put it 
all in the same spatial reference system.  

I don't have any good data for you for your original question.  I would guess 
that the performance of OpenLayers projection would vary based on the client 
machine and browser.

David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Kiks
Sent: Wednesday, July 14, 2010 5:15 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] project on the fly through mapserver or openlayers?


Hi to all,
I'm using MapServer and OpenLayers in my Webgis application.
I'm at the first steps, and I was thinking about this...

If I'm not going bad, both OpenLayers and Mapserver have on the fly project
transformation functionality.
With Mapserver you can reproject also raster images, that OpenLayers can't.

If all this is correct, I wondered if, for performance issues, it's better
to reproject vectorial drawings with MapServer or OpenLayers.

thanks to all,
Kiks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/project-on-the-fly-through-mapserver-or-openlayers-tp5291876p5291876.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] multiple map layers with different scales

2010-07-14 Thread Fawcett, David (MPCA)
Create a layer for each data set.  

Use Layer MAXSCALEDENOM and MINSCALEDENOM to define when the layer should be 
drawn.  http://mapserver.org/mapfile/layer.html

David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of easyl
Sent: Wednesday, July 14, 2010 6:44 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] multiple map layers with different scales


I have multiple map layers with different scales.
 
For example,
+-+
|  A+-+  |
|| B +--+ | 
||| C   |  |
||+--+ |
||  |   |
|++   |
+-+

A   1:1000 
B   1:500
C   1:100

How can I setup them in mapserver, so that I can render the map with
different detail.

For example:

given a scale value from 1:100
The map is rendered with:
+-+
|  A+-+  |
|| B +--+ | 
||| C   |  |
||+--+ |
||  |   |
|++   |
+-+


given a scale value from 1:200
The map is rendered with:
+-+
|  A+-+  |
|| B   |   | 
||  |   |
||  |   |
||  |   |
|++   |
+-+

given a scale value from 1:700
The map is rendered with:
+-+
|  A   |
|   | 
|   |
|   |
|   |
|   |
+-+
 
Is that possible?
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/multiple-map-layers-with-different-scales-tp5292120p5292120.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Create new ticket for WCS RESPONSE_CRS & WCS BBOX?

2010-07-14 Thread turtlewax

The WCS isn't behaving as I expect. I'll outline the symptoms below. I've
issued requests against my own server, but also the server referenced in the
documentation (http://maps.dnr.state.mn.us/cgi-bin/mapserv50).  
Should I open a ticket for this?

EXAMPLE REQUEST
http://wms/?Identifier=16&VERSION=1.1.0&FORMAT=image/tiff&SERVICE=WCS&REQUEST=GetCoverage&CRS=EPSG:3785&bbox=[.,.,.,]&resX=8&resY=8


1. I'm using the resX & resY parameters and requesting a geotiff. I've found
that if I make a request and don't specify the RESPONSE_CRS, I get an image
with good pixels, but bad SRS info. For example: GEOGCS["unnamed ellipse", 
DATUM["unknown",...


2. If I do the same request and add "RESPONSE_CRS=", I get
an image with good projection info.


3. If I do the same request and add "RESPONSE_CRS=epsg:4326", or any
projection other than the native projection, I get a 1X1 gray geotiff (with
good projection info).







-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WCS-error-Requested-BBOX-outside-requested-coverage-tp5282810p5292891.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Windows 2008; Java; 64 Bit

2010-07-14 Thread Tamas Szekeres
Benedikt,


Thank you, I'll look into the solution and apply that, if no one else would
want to take over this.

Best regards,

Tamas



2010/7/14 

> Hi
>
> I think I have analyzed the problem: Bug in Allocating/freeing char-Arrays:
> *trac.osgeo.org/mapserver/ticket/3491*
>
> I'm not quite shure, wether I shall spend time in a workaround or somebody
> can provide a quick solution.
>
> Bye, Benedikt
>
> Tamas Szekeres  schrieb am 13.07.2010 16:43:53:
>
> > Tamas Szekeres 
> > 13.07.2010 16:52
> >
> > An
> >
> > umn...@hydrotec.de
> >
> > Kopie
> >
> > mapserver-users@lists.osgeo.org
>
> >
> > Thema
> >
> > Re: [mapserver-users] Windows 2008; Java; 64 Bit
> >
> > Benedikt,
> >
> > It may be a bug in the mapscript Java bindings, feel free to create a
> ticket
> > for this issue.
> >
> > Best regards,
> >
> > Tamas
> >
> >
> >
>
> > 2010/7/13 
> > I want to use Mapserver in TomCat6; Windows 2008; 64 Bit; Sun-Java
> 1.6..21
> > Mapserver compiled by Tamas Szekeres: release-1500-x64-gdal-1-7-
> > mapserver-5-6.zip (vbkto.dyndns.org/sdk/Default.aspx )
> >
> > Unfortunately the Java-VM crashes!
> >
> > To reduce the problem I tried example-programs in \mapscript
> > \java\examples\
> > - MakePoint runs without error.
> > - QueryByAttribute results in the same crash as the "big-tomcat-
> > environment" does.
> >
> > As far as I can see, the crash occurs every time, when a string-
> > parameter ist provided to the Mapserver API.
> > I think, that the VM-crash occurs, when the function
> > "JNU_GetStringNativeChars(jenv, jarg1)" from mapscript_wrap.c
> > is called.
> >
> > Surprinsingly the error occurs with other  release-XXX-packages fromTamas
> too.
>
> >
> > It even occurs, when I use a 32-Bit-Environment an MS4w on this computer.
>
> >
> > I attach an hs_err_pid-.log-File.
> >
> > Does anybody has any advice?
> >
> > Greetings, Benedikt
> >
> >
> >
> > ___
> > mapserver-users mailing list
> > mapserver-users@lists.osgeo.org
> >
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] project on the fly through mapserver or openlayers?

2010-07-14 Thread Mark Korver
> If all this is correct, I wondered if, for performance issues, it's better
> to reproject vectorial drawings with MapServer or OpenLayers.

Depends on several things.  If you just have small number of users on
the system, MapServer may well give you all the performance you need.
Plus its easy to setup.

However, from an architectural point of view, off-loading some of the
work to the client ( which is probably not all that busy anyway )  is
not a bad idea, especially if you have a lot of clients and
potentially a lot of load on the server.  But...in that case you
probably want to pre-process data to really speed it up.

Also, I know MapServer is fast, but I would expect using OL (
javascript ) to re-project and then render vector data has its limits,
just needs to be tested.

On Wed, Jul 14, 2010 at 5:15 AM, Kiks  wrote:
>
> Hi to all,
> I'm using MapServer and OpenLayers in my Webgis application.
> I'm at the first steps, and I was thinking about this...
>
> If I'm not going bad, both OpenLayers and Mapserver have on the fly project
> transformation functionality.
> With Mapserver you can reproject also raster images, that OpenLayers can't.
>
> If all this is correct, I wondered if, for performance issues, it's better
> to reproject vectorial drawings with MapServer or OpenLayers.
>
> thanks to all,
> Kiks
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/project-on-the-fly-through-mapserver-or-openlayers-tp5291876p5291876.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: project on the fly through mapserver or openlayers?

2010-07-14 Thread Kiks

Thank you for your replies,
Now I'm working with both client and server side over the same machine, I
will do some tests from other clients to understand how can be balanced the
load between client and server, and also about preprocessing all data
without reproject at run time.

Kiks

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/project-on-the-fly-through-mapserver-or-openlayers-tp5291876p5293142.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] UK Ordnance Survey MasterMap Cartographic Text orientation display problem

2010-07-14 Thread Jez Walters

I'm trying to use MapServer to display UK Ordnance Survey MasterMap vector
data, but I've been experiencing problems when it comes to Cartographic Text
orientation.

The text angle is specifed in the GML as an integer representing 10ths of a
degree, rather than as a floating point number.  In order to overcome this
I've been pre-processing the OS GML using awk, to divide the text
orientation value by 10.

I'm converting the pre-processed GML to ESRI Shapefiles before displaying
the map using MapServer.  As an example, here's a snipet of my Mapfile:

...
CLASS
  NAME "Tidal Water"
  EXPRESSION ("[descriptiv]" == "Tidal Water")
  STYLE
  END
  LABEL
TYPE truetype
FONT Arial
SIZE 7
ANTIALIAS true
COLOR 0 153 255
POSITION cc
ANGLE [orientatio]
  END
END
...

Am I on the right track for rescaling the orientation value, or is there a
better way of doing this?
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/UK-Ordnance-Survey-MasterMap-Cartographic-Text-orientation-display-problem-tp5293281p5293281.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Create new ticket for WCS RESPONSE_CRS & WCS BBOX?

2010-07-14 Thread Lime, Steve D (DNR)
Please... I'm assuming you are running against the most recent MapServer 
version. Even
if there were issues with the 5.0 version we likely wouldn't patch it.

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of turtlewax
Sent: Wednesday, July 14, 2010 9:43 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Create new ticket for WCS RESPONSE_CRS & WCS BBOX?


The WCS isn't behaving as I expect. I'll outline the symptoms below. I've
issued requests against my own server, but also the server referenced in the
documentation (http://maps.dnr.state.mn.us/cgi-bin/mapserv50).  
Should I open a ticket for this?

EXAMPLE REQUEST
http://wms/?Identifier=16&VERSION=1.1.0&FORMAT=image/tiff&SERVICE=WCS&REQUEST=GetCoverage&CRS=EPSG:3785&bbox=[.,.,.,]&resX=8&resY=8


1. I'm using the resX & resY parameters and requesting a geotiff. I've found
that if I make a request and don't specify the RESPONSE_CRS, I get an image
with good pixels, but bad SRS info. For example: GEOGCS["unnamed ellipse", 
DATUM["unknown",...


2. If I do the same request and add "RESPONSE_CRS=", I get
an image with good projection info.


3. If I do the same request and add "RESPONSE_CRS=epsg:4326", or any
projection other than the native projection, I get a 1X1 gray geotiff (with
good projection info).







-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WCS-error-Requested-BBOX-outside-requested-coverage-tp5282810p5292891.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] RE: Create new ticket for WCS RESPONSE_CRS & WCS BBOX?

2010-07-14 Thread turtlewax

My mapserver reports version "5.7-dev". Obtained from the following URL 
http://vbkto.dyndns.org/sdk/release-1500-x64-gdal-1-6-mapserver-5-6.zip (I
need a 64-bit version).

I'm not asking for a patch against a specific version.  Mainly I'm asking if
I "should" create a ticket. 
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WCS-error-Requested-BBOX-outside-requested-coverage-tp5282810p5294782.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] RE: Create new ticket for WCS RESPONSE_CRS & WCS BBOX?

2010-07-14 Thread Lime, Steve D (DNR)
I was asking if you've tested against a new version and if not to try upgrading 
first. Sounds like you have so a
ticket would be warranted.

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] On Behalf Of turtlewax 
[frankhev...@yahoo.com]
Sent: Wednesday, July 14, 2010 4:00 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] RE: Create new ticket for WCS RESPONSE_CRS & WCS 
BBOX?

My mapserver reports version "5.7-dev". Obtained from the following URL
http://vbkto.dyndns.org/sdk/release-1500-x64-gdal-1-6-mapserver-5-6.zip (I
need a 64-bit version).

I'm not asking for a patch against a specific version.  Mainly I'm asking if
I "should" create a ticket.
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WCS-error-Requested-BBOX-outside-requested-coverage-tp5282810p5294782.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] MAXSCALEDENOM [scale_field]

2010-07-14 Thread Lime, Steve D (DNR)
MapServer doesn't support layer-level binding only feature-level binding. I'm 
having trouble seeing the value. Can you explain further? 

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] On Behalf Of Daniel Degasperi 
[daniel.degasp...@r3-gis.com]
Sent: Wednesday, July 14, 2010 7:54 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MAXSCALEDENOM [scale_field]

Hi,
I've tried to read the MAXSCALEDENOM value from a attribute in my
datasource, but mapserver throw's a parsing error.
Probably because such feature does not exist in mapserver.

Are there any intentions to implement this?
It could be interesting for layers, whose data has different priorities
but the same styling.
With this feature I can avoid repeating the classes for every priority.

Best regards,
Daniel
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] tiff image drawing error

2010-07-14 Thread YAMADA,Yasuharu
When I display a tiff image on the MapServer, the following message appears on 
the
screen,
'msDrawRaster(): Image handling error.
Unrecognized or Unsupported image format:
drawEPP(): Image handling error.
/opt/geoweb/maps/snapout2.tif is not an EPP file.'

The server environment is CentOS5, MapServer 5.6.1,
OpenLayers 2.8.

What's wrong? Does anyone advise me?




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users