[mapserver-users] Label opacity

2009-06-01 Thread David Nugent

Hello all,

While OPACITY [1-100] works fine for drawing features and symbols (ie.  
anything described in a STYLE section within the layer), it does not seem  
to affect labels.


OPACITY does not appear to be a valid keyword in a LABEL section, so is  
there a way of achieving less than 100% opaque labels?


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


[mapserver-users] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Adrian Popa

Hello everybody,

I'm not sure if it's been disscussed on the list already or not, but I 
wanted to ask if it's possible to integrate mapserver (and starting with 
which version?) with Google/Yahoo maps.
I would like to display the raster (satellite) images from google/yahoo 
as a layer in the map. The thing is - I don't want to store the actual 
raster data on my server - but to make requests to google/yahoo on the fly.


Thank you,
Adrian Popa

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


[mapserver-users] my grid layer doesn't work properly

2009-06-01 Thread orkun
hello

my grid layer doesn't work properly.

Although at first it looks ok, when I zoom my map,  Graticules (in
UTM  ) lost its format. It looks in scientific format. 


how can I correct this situation ?

here is a part of my map ?


LAYER
NAME "GRID"
TRANSPARENCY 10
PROJECTION
'proj=utm'
'zone=36'
'ellps=WGS84'
'datum=WGS84'
'units=m'
'no_defs'
''
END
TYPE LINE
STATUS DEFAULT
CLASS
   COLOR 0 0 0
   LABEL
  TYPE BITMAP
  #SIZE MEDIUM
  SIZE SMALL
  COLOR 0 0 0
  POSITION AUTO
  PARTIALS FALSE
  BUFFER 5
  OUTLINECOLOR 255 255 255
   END
END
GRID
  MAXARCS 5
  MINARCS 3
# MAXINTERVAL 50
  MAXSUBDIVIDE 2

  #MINSUBDIVIDE 100
  #MAXSUBDIVIDE 100
  #MININTERVAL 1 
  #MAXINTERVAL 5 
  LABELFORMAT "%7.2f "
  END
END



regards
-- 
Ahmet Temiz
Jeo. Müh.
Afet İşleri Gen. Md.lüğü
Deprem Ar. D.

Ahmet Temiz
Geo. Eng.
General Dir. of 
Disaster Affairs
TURKEY


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [mapserver-users] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Rahkonen Jukka
Hi,

Terms and conditions of these services do not allow cascading
Google/Yahoo maps through Mapserver.  However, it is allowed to let the
mapping client to make this integration. One example I found from my
bookmarks is here:

http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF

-Jukka Rahkonen

Adrian Popa wrote:
> 
> Hello everybody,
> 
> I'm not sure if it's been disscussed on the list already or 
> not, but I wanted to ask if it's possible to integrate 
> mapserver (and starting with which version?) with Google/Yahoo maps.
> I would like to display the raster (satellite) images from 
> google/yahoo as a layer in the map. The thing is - I don't 
> want to store the actual raster data on my server - but to 
> make requests to google/yahoo on the fly.
> 
> Thank you,
> Adrian Popa
> 
> ___
> 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] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Adrian Popa

Hello,

Thank you for your clarification. So, I would need the client-side to 
support google/yahoo layers and mapserver would run to feed just its 
specific layers.

Interesting.

Anyway, do you know any other projects that offer (with an open license) 
access to raster satellite/aerial imagery that can be integrated with 
mapserver?


Regards,
Adrian Popa

Rahkonen Jukka wrote:

Hi,

Terms and conditions of these services do not allow cascading
Google/Yahoo maps through Mapserver.  However, it is allowed to let the
mapping client to make this integration. One example I found from my
bookmarks is here:

http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF

-Jukka Rahkonen

Adrian Popa wrote:
  

Hello everybody,

I'm not sure if it's been disscussed on the list already or 
not, but I wanted to ask if it's possible to integrate 
mapserver (and starting with which version?) with Google/Yahoo maps.
I would like to display the raster (satellite) images from 
google/yahoo as a layer in the map. The thing is - I don't 
want to store the actual raster data on my server - but to 
make requests to google/yahoo on the fly.


Thank you,
Adrian Popa

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




  



--
--- 
Adrian Popa

NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP & Metro
Compartiment IP Core & Backbone
Phone: +40 21 400 3099

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


RE: [mapserver-users] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Fawcett, David
Take a look at OpenLayers.  http://www.openlayers.org
 
Here is an example of an OpenLayers application that uses Google as the
base layer.
http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html
(When the app first loads, it is using OpenStreetMap data as the base
layer.  Click on the '+' icon on the right side of the map to expand the
layer switcher and you can then switch to a Google layer.)
 
You can also use Microsoft Virtual Earth data
http://www.openlayers.org/dev/examples/
 
And using MapServer, you can publish your data as a WMS and pull it in
to the same OpenLayers app.  (You can also connect to MapServer with a
native MapServer CGI call, but the developers are encouraging the use of
a standard WMS call.)
 
David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Adrian
Popa
Sent: Monday, June 01, 2009 4:16 AM
To: Rahkonen Jukka
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Importing a Google/Yahoo maps
raster layer


Hello,

Thank you for your clarification. So, I would need the
client-side to support google/yahoo layers and mapserver would run to
feed just its specific layers.
Interesting. 

Anyway, do you know any other projects that offer (with an open
license) access to raster satellite/aerial imagery that can be
integrated with mapserver?

Regards,
Adrian Popa

Rahkonen Jukka wrote: 

Hi,

Terms and conditions of these services do not allow
cascading
Google/Yahoo maps through Mapserver.  However, it is
allowed to let the
mapping client to make this integration. One example I
found from my
bookmarks is here:


http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF

-Jukka Rahkonen

Adrian Popa wrote:
  

Hello everybody,

I'm not sure if it's been disscussed on the list
already or 
not, but I wanted to ask if it's possible to
integrate 
mapserver (and starting with which version?)
with Google/Yahoo maps.
I would like to display the raster (satellite)
images from 
google/yahoo as a layer in the map. The thing is
- I don't 
want to store the actual raster data on my
server - but to 
make requests to google/yahoo on the fly.

Thank you,
Adrian Popa

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapserver-users




  



-- 
--- 
Adrian Popa
NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP & Metro
Compartiment IP Core & Backbone
Phone: +40 21 400 3099

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


Re: [mapserver-users] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Adrian Popa

Hello David,

Unfortunatelly I am tied into a different web presentation layer - 
MsMap. It has some features (like marking locations at specific 
coordinates and adding interactive options to them) and I can't abandon it.

I will look at openlayers, to see if it supports the functionality I need.

Thank you for your help.
Adrian Popa

Fawcett, David wrote:

Take a look at OpenLayers.  http://www.openlayers.org
 
Here is an example of an OpenLayers application that uses Google as 
the base layer.  
http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html  
(When the app first loads, it is using OpenStreetMap data as the base 
layer.  Click on the '+' icon on the right side of the map to expand 
the layer switcher and you can then switch to a Google layer.)
 
You can also use Microsoft Virtual Earth data 
http://www.openlayers.org/dev/examples/
 
And using MapServer, you can publish your data as a WMS and pull it in 
to the same OpenLayers app.  (You can also connect to MapServer with a 
native MapServer CGI call, but the developers are encouraging the use 
of a standard WMS call.)
 
David.


-Original Message-
*From:* mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of
*Adrian Popa
*Sent:* Monday, June 01, 2009 4:16 AM
*To:* Rahkonen Jukka
*Cc:* mapserver-users@lists.osgeo.org
*Subject:* Re: [mapserver-users] Importing a Google/Yahoo maps
raster layer

Hello,

Thank you for your clarification. So, I would need the client-side
to support google/yahoo layers and mapserver would run to feed
just its specific layers.
Interesting.

Anyway, do you know any other projects that offer (with an open
license) access to raster satellite/aerial imagery that can be
integrated with mapserver?

Regards,
Adrian Popa

Rahkonen Jukka wrote:

Hi,

Terms and conditions of these services do not allow cascading
Google/Yahoo maps through Mapserver.  However, it is allowed to let the
mapping client to make this integration. One example I found from my
bookmarks is here:

http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF

-Jukka Rahkonen

Adrian Popa wrote:
  

Hello everybody,

I'm not sure if it's been disscussed on the list already or 
not, but I wanted to ask if it's possible to integrate 
mapserver (and starting with which version?) with Google/Yahoo maps.
I would like to display the raster (satellite) images from 
google/yahoo as a layer in the map. The thing is - I don't 
want to store the actual raster data on my server - but to 
make requests to google/yahoo on the fly.


Thank you,
Adrian Popa

___
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] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Christopher Schmidt
On Mon, Jun 01, 2009 at 05:06:24PM +0300, Adrian Popa wrote:
> Hello David,
> 
> Unfortunatelly I am tied into a different web presentation layer - 
> MsMap. It has some features (like marking locations at specific 
> coordinates and adding interactive options to them) and I can't abandon it.
> I will look at openlayers, to see if it supports the functionality I need.

I'm assuming "Annotations" are visible marks on the map, and "adding
interactive options to them" means that you can cause something to
happen when you click. The first example that was given -- the
'sundials' example -- has both of these features.

For a more advanced demonstration of OpenLayers technology, you might be
interested in something more like:

  http://recovery-map.org/map/76/toxic-rivers-of-boston/

-- Chris  

> Thank you for your help.
> Adrian Popa
> 
> Fawcett, David wrote:
> >Take a look at OpenLayers.  http://www.openlayers.org
> > 
> >Here is an example of an OpenLayers application that uses Google as 
> >the base layer.  
> >http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html  
> >(When the app first loads, it is using OpenStreetMap data as the base 
> >layer.  Click on the '+' icon on the right side of the map to expand 
> >the layer switcher and you can then switch to a Google layer.)
> > 
> >You can also use Microsoft Virtual Earth data 
> >http://www.openlayers.org/dev/examples/
> > 
> >And using MapServer, you can publish your data as a WMS and pull it in 
> >to the same OpenLayers app.  (You can also connect to MapServer with a 
> >native MapServer CGI call, but the developers are encouraging the use 
> >of a standard WMS call.)
> > 
> >David.
> >
> >-Original Message-
> >*From:* mapserver-users-boun...@lists.osgeo.org
> >[mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of
> >*Adrian Popa
> >*Sent:* Monday, June 01, 2009 4:16 AM
> >*To:* Rahkonen Jukka
> >*Cc:* mapserver-users@lists.osgeo.org
> >*Subject:* Re: [mapserver-users] Importing a Google/Yahoo maps
> >raster layer
> >
> >Hello,
> >
> >Thank you for your clarification. So, I would need the client-side
> >to support google/yahoo layers and mapserver would run to feed
> >just its specific layers.
> >Interesting.
> >
> >Anyway, do you know any other projects that offer (with an open
> >license) access to raster satellite/aerial imagery that can be
> >integrated with mapserver?
> >
> >Regards,
> >Adrian Popa
> >
> >Rahkonen Jukka wrote:
> >>Hi,
> >>
> >>Terms and conditions of these services do not allow cascading
> >>Google/Yahoo maps through Mapserver.  However, it is allowed to let 
> >>the
> >>mapping client to make this integration. One example I found from my
> >>bookmarks is here:
> >>
> >>http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF
> >>
> >>-Jukka Rahkonen
> >>
> >>Adrian Popa wrote:
> >>  
> >>>Hello everybody,
> >>>
> >>>I'm not sure if it's been disscussed on the list already or 
> >>>not, but I wanted to ask if it's possible to integrate 
> >>>mapserver (and starting with which version?) with Google/Yahoo maps.
> >>>I would like to display the raster (satellite) images from 
> >>>google/yahoo as a layer in the map. The thing is - I don't 
> >>>want to store the actual raster data on my server - but to 
> >>>make requests to google/yahoo on the fly.
> >>>
> >>>Thank you,
> >>>Adrian Popa
> >>>
> >>>___
> >>>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


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


Re: [mapserver-users] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Adrian Popa

Hello Christopher,

Your example has the elements that I need :) Is this basic functionality 
included in openlayers by default, or is it an addon?
Also - will openlayers work with mapserver by default - or through WMS 
(I don't have experience with WMS)?


Thanks for your references.

Christopher Schmidt wrote:

On Mon, Jun 01, 2009 at 05:06:24PM +0300, Adrian Popa wrote:
  

Hello David,

Unfortunatelly I am tied into a different web presentation layer - 
MsMap. It has some features (like marking locations at specific 
coordinates and adding interactive options to them) and I can't abandon it.

I will look at openlayers, to see if it supports the functionality I need.



I'm assuming "Annotations" are visible marks on the map, and "adding
interactive options to them" means that you can cause something to
happen when you click. The first example that was given -- the
'sundials' example -- has both of these features.

For a more advanced demonstration of OpenLayers technology, you might be
interested in something more like:

  http://recovery-map.org/map/76/toxic-rivers-of-boston/

-- Chris  

  

Thank you for your help.
Adrian Popa

Fawcett, David wrote:


Take a look at OpenLayers.  http://www.openlayers.org

Here is an example of an OpenLayers application that uses Google as 
the base layer.  
http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html  
(When the app first loads, it is using OpenStreetMap data as the base 
layer.  Click on the '+' icon on the right side of the map to expand 
the layer switcher and you can then switch to a Google layer.)


You can also use Microsoft Virtual Earth data 
http://www.openlayers.org/dev/examples/


And using MapServer, you can publish your data as a WMS and pull it in 
to the same OpenLayers app.  (You can also connect to MapServer with a 
native MapServer CGI call, but the developers are encouraging the use 
of a standard WMS call.)


David.

   -Original Message-
   *From:* mapserver-users-boun...@lists.osgeo.org
   [mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of
   *Adrian Popa
   *Sent:* Monday, June 01, 2009 4:16 AM
   *To:* Rahkonen Jukka
   *Cc:* mapserver-users@lists.osgeo.org
   *Subject:* Re: [mapserver-users] Importing a Google/Yahoo maps
   raster layer

   Hello,

   Thank you for your clarification. So, I would need the client-side
   to support google/yahoo layers and mapserver would run to feed
   just its specific layers.
   Interesting.

   Anyway, do you know any other projects that offer (with an open
   license) access to raster satellite/aerial imagery that can be
   integrated with mapserver?

   Regards,
   Adrian Popa

   Rahkonen Jukka wrote:
  

   Hi,

   Terms and conditions of these services do not allow cascading
   Google/Yahoo maps through Mapserver.  However, it is allowed to let 
   the

   mapping client to make this integration. One example I found from my
   bookmarks is here:

   http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF

   -Jukka Rahkonen

   Adrian Popa wrote:
 


   Hello everybody,

   I'm not sure if it's been disscussed on the list already or 
   not, but I wanted to ask if it's possible to integrate 
   mapserver (and starting with which version?) with Google/Yahoo maps.
   I would like to display the raster (satellite) images from 
   google/yahoo as a layer in the map. The thing is - I don't 
   want to store the actual raster data on my server - but to 
   make requests to google/yahoo on the fly.


   Thank you,
   Adrian Popa

   ___
   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




  



--
--- 
Adrian Popa

NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP & Metro
Compartiment IP Core & Backbone
Phone: +40 21 400 3099

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


Re: [mapserver-users] Label opacity

2009-06-01 Thread Steve Lime
Not at the moment, no. The label cache rendering takes place independently of 
layer drawing and
layer opacity isn't taken into account when labels are rendered. Probably 
should be... I start a 
ticket. Labels would need their own OPACITY keyword in this case or would have 
to respect LAYER
OPACITY.

Labels drawn independently of the cache, e.g. LABELPRECACHE ON are affected by 
LAYER OPACITY
but are not subject to collision avoidance.

Steve

>>> On 6/1/2009 at 2:04 AM, in message 
>>> ,
"David Nugent"  wrote:
> Hello all,
> 
> While OPACITY [1-100] works fine for drawing features and symbols (ie.  
> anything described in a STYLE section within the layer), it does not seem  
> to affect labels.
> 
> OPACITY does not appear to be a valid keyword in a LABEL section, so is  
> there a way of achieving less than 100% opaque labels?
> 
> Thanks,
> David
> ___
> 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] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Christopher Schmidt
On Mon, Jun 01, 2009 at 05:20:25PM +0300, Adrian Popa wrote:
> Hello Christopher,
> 
> Your example has the elements that I need :) Is this basic functionality 
> included in openlayers by default, or is it an addon?
> Also - will openlayers work with mapserver by default - or through WMS 
> (I don't have experience with WMS)?

Both, but WMS is highly recommended, because using MapServer as CGI is
prone to hide errors due to misconfiguration. (Setting up WMS requires
only adding:

  metadata
web
  wms_srs "EPSG:4326"
end
  end

to your mapfile to work minimally; everything else is optional.)

The recovery map example has a significant amount of code, but it is
using the trunk version of OpenLayers with no additional features. The
UI, some of the popups, the layer addition/removal are all additional
pieces added to that UI, but there are other toolkits (Like GeoExt) that
provide these in open source software as well.

Best Regards,

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


Re: [mapserver-users] Label opacity

2009-06-01 Thread Steve Lime
Ticket #3033 (http://trac.osgeo.org/mapserver/ticket/3033) in case anyone is 
interested.

Steve

>>> On 6/1/2009 at 10:11 AM, in message <4a23a967.5157.008...@dnr.state.mn.us>,
"Steve Lime"  wrote:
> Not at the moment, no. The label cache rendering takes place independently of 
> layer drawing and
> layer opacity isn't taken into account when labels are rendered. Probably 
> should be... I start a 
> ticket. Labels would need their own OPACITY keyword in this case or would 
> have to respect LAYER
> OPACITY.
> 
> Labels drawn independently of the cache, e.g. LABELPRECACHE ON are affected 
> by LAYER OPACITY
> but are not subject to collision avoidance.
> 
> Steve
> 
 On 6/1/2009 at 2:04 AM, in message 
 ,
> "David Nugent"  wrote:
>> Hello all,
>> 
>> While OPACITY [1-100] works fine for drawing features and symbols (ie.  
>> anything described in a STYLE section within the layer), it does not seem  
>> to affect labels.
>> 
>> OPACITY does not appear to be a valid keyword in a LABEL section, so is  
>> there a way of achieving less than 100% opaque labels?
>> 
>> Thanks,
>> David
>> ___
>> 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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Using mapserver to print a large "plotter" sized image

2009-06-01 Thread Robert Hicks
Hello all, I am trying to figure out a way I can use Mapserver to print out
a large image, one that will look good coming off a plotter (probably around
300 dpi).
There is an open ticket
(http://mapserver.org/development/rfc/ms-rfc-55.html) for
something somewhat related but it offers some good advice on what I am
trying to do, however the maximum size that Mapserver allows you to request
is 2048 x 2048, and my current viewport is 757 which scales like: 757 (old
size) * 300 (new resolution that is good for 300 dpi according to ticket) /
72 (old resolution) = 3154.1667 which is way to big
to request from Mapserver.

Does anyone have experience with this?

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


Re: [mapserver-users] Using mapserver to print a large "plotter" sized image

2009-06-01 Thread Michael Smith
Robert,

To increase the maximum size that MapServer will generate, add the MAXSIZE
keyword to you mapfile (in the MAP section)

eg

MAXSIZE 8000


See more here ( http://mapserver.org/mapfile/map.html )

Mike



On 6/1/09  12:47 PM, "Robert Hicks"  wrote:

> Hello all, I am trying to figure out a way I can use Mapserver to print out a
> large image, one that will look good coming off a plotter (probably around 300
> dpi).
> 
> There is an open ticket
> (http://mapserver.org/development/rfc/ms-rfc-55.html) for something somewhat
> related but it offers some good advice on what I am trying to do, however the
> maximum size that Mapserver allows you to request is 2048 x 2048, and my
> current viewport is 757 which scales like: 757 (old size) * 300 (new
> resolution that is good for 300 dpi according to ticket) / 72 (old resolution)
> = 3154.1667 which is way to big to request from
> Mapserver.
> 
> Does anyone have experience with this? 
> 
> Thanks!
> 
> 
> ___
> 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] Using mapserver to print a large "plotter" sizedimage

2009-06-01 Thread Bob Basques
Robert, 

That's not so big.  You can compile MapServer with larger output numbers, I 
think there is even an optional output method that has been recently added (or 
is going to be added) to help with this type of thing. 

The limits are in place for good reason BTW, so be careful with what you set 
up.  We set our up for larger than stock image output as well.  But we still 
have an upper limit in place.  See here. 

http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_googlish1_public.map?mapext=531979.4411764706%20126619.81457800511%20611328.5588235294%20183199.1854219949&mapsize=3000%203000&mode=map&MOOSETIME=1243877325243
 ( 
http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_googlish1_public.map?mapext=531979.4411764706%20126619.81457800511%20611328.5588235294%20183199.1854219949&mapsize=3000%203000&mode=map&MOOSETIME=1243877325243
 ) 

You can see that it takes a little while for the response to come back with 
this larger image size (3000x3000), but the images does eventually com back.  
You can bog your server down if you have too many folks grabbing too big of 
images too often.  I've been contemplating a whole separate server just for 
this type of printing operation on this end for example. 

We still run into problems with folks using multiple monitor spanning Browser 
windows that request really large images, but this has only sporadically been a 
problem so far.  But I can tell that the newer users are starting to expect 
some of these capabilities as well as newer high rez screens are installed. 

bobb 




>>> Robert Hicks  wrote:

Hello all, I am trying to figure out a way I can use Mapserver to print out a 
large image, one that will look good coming off a plotter (probably around 300 
dpi). 


There is an open ticket (http://mapserver.org/development/rfc/ms-rfc-55.html) 
for something somewhat related but it offers some good advice on what I am 
trying to do, however the maximum size that Mapserver allows you to request is 
2048 x 2048, and my current viewport is 757 which scales like: 757 (old size) * 
300 (new resolution that is good for 300 dpi according to ticket) / 72 (old 
resolution) = 3154.1667 which is way to big to request 
from Mapserver. 



Does anyone have experience with this?



Thanks!

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


[mapserver-users] HTML Query Template

2009-06-01 Thread darenas

Hi everyone!

I´m trying to create a HTML Query Template to use in a WMS service.
Therefore, the idea is when I use the IDENTIFY tool, I want a table that
give me back information about several fields from a GEODATABASE, just like
this example:

http://n2.nabble.com/file/n3007697/captured.jpg 

Sincerely, I´m a bit confuse of creating that

Thanks a million

David
-- 
View this message in context: 
http://n2.nabble.com/HTML-Query-Template-tp3007697p3007697.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 shapefiles, one layer

2009-06-01 Thread Chad Clabaugh
Hello,

 

I'm attempting to render two or possibly more shapefiles on a single layer.
I found this
http://old-mapserver.gis.umn.edu/data2/wilma/mapserver-users/0204/msg00111.h
tml suggsting that it's possible but I'm not sure exactly what the post is
explaining to do.  Any thoughts or advice on this?

 

Many thanks.

 

Chad

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


Re: [mapserver-users] Using mapserver to print a large "plotter" sizedimage

2009-06-01 Thread Rahkonen Jukka
Hi,

There is nowadays MAXSIZE that is used at MAP level.  Set it to 5000 and try 
again.

MAXSIZE [integer]
Sets the maximum size of the map image. This will override the default 
value. For example, setting this to 2048 means that you can have up to 2048 
pixels in both dimensions (i.e. max of 2048x2048).

-Jukka Rahkonen-

-Alkuperäinen viesti-
Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: Robert Hicks
Lähetetty: ma 1.6.2009 19:47
Vastaanottaja: mapserver-users@lists.osgeo.org; mapserver-us...@lists.umn.edu
Aihe: [mapserver-users] Using mapserver to print a large "plotter" sizedimage
 
Hello all, I am trying to figure out a way I can use Mapserver to print out
a large image, one that will look good coming off a plotter (probably around
300 dpi).
There is an open ticket
(http://mapserver.org/development/rfc/ms-rfc-55.html) for
something somewhat related but it offers some good advice on what I am
trying to do, however the maximum size that Mapserver allows you to request
is 2048 x 2048, and my current viewport is 757 which scales like: 757 (old
size) * 300 (new resolution that is good for 300 dpi according to ticket) /
72 (old resolution) = 3154.1667 which is way to big
to request from Mapserver.

Does anyone have experience with this?

Thanks!

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


Re: [mapserver-users] Multiple shapefiles, one layer

2009-06-01 Thread Rahkonen Jukka

Hi,

Ogrtindex is what you are searching for, 
http://mapserver.org/optimization/tileindex.html#tileindex

-Jukka Rahkonen-

Chad Clabaugh wrote:
 
Hello,

 

I'm attempting to render two or possibly more shapefiles on a single layer.
I found this
http://old-mapserver.gis.umn.edu/data2/wilma/mapserver-users/0204/msg00111.h
tml suggsting that it's possible but I'm not sure exactly what the post is
explaining to do.  Any thoughts or advice on this?

 

Many thanks.

 

Chad


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


Re: [mapserver-users] Finding the centroid given the feature

2009-06-01 Thread Steve Lime
MapServer templates can produce a center point for a geometry but it's not a 
true centroid but those
aren't guaranteed to be "in" the polygon. MapScript could be used as well I 
suppose. In either case you'd
send a lookup request to the CGI or MapScript, do an attribute query and return 
whatever you'd need.

Steve

>>> On 5/29/2009 at 9:32 AM, in message
<6db14d250905290732pb01747wce200eddfe73d...@mail.gmail.com>, Varun saraf
 wrote:
> I am using mapserver 5.0 with google maps and the data source is the
> US Census tracts as shape files and dbf files.
> 
> On Thu, May 28, 2009 at 2:12 PM, Steve Lime  
> wrote:
>> What version are you using? What data source?
>>
>> Steve
>>
> On 5/28/2009 at 10:01 AM, in message
>> <6db14d250905280801q3660a6a7ycbcd5f5a238c5...@mail.gmail.com>, Varun saraf
>>  wrote:
>>> Hi,
>>>
>>> I know mapserver uses a point-in-polygon method to find a feature
>>> given a set of co-ordinates, but can it do the same thing reversed?
>>> For example. Each polygon I draw has a number associated with it which
>>> is in a "dbf" file with the same name as the "shp" file that mapserver
>>> uses to draw the polygons. My current map file allows me to fetch that
>>> unique number whenever I pass the co-ordinates of any point inside
>>> that polygon (mapserver uses the point-in-polygon method to fetch me
>>> the polygonID). The query I use is
>>>
>>> http://127.0.0.1:8123/cgi-bin/mapserv.exe?&map=C:/ms4w/apps/workshop-5.0/testMa
>>>  
>>> p.map&mode=query&mapxy=-77.098617
>>> 38.87795
>>>
>>> where mapxy keeps changing based on the user's click. The html
>>> template I send just has the variable name [polygonID] which helps me
>>> get the polygon ID of the point I specify in the mapxy variable. Now,
>>> is there a way in which I can send this polygonID to mapserver and get
>>> hold of any point (perhaps the centroid) inside of this polygon? Can
>>> someone point me in the right direction here?
>>>
>>> Thanks a lot.
>>>
>>> -Varun
>>> ___
>>> 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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] sample WMS raster map file and sample data

2009-06-01 Thread Chris Weed
Hi,
I am trying to set up a WMS mapserver, but I can't find a sample image
and map file to test with.
Any help would be greatly appreciated.
Thanks,
Chris
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] sample WMS raster map file and sample data

2009-06-01 Thread Kralidis,Tom [Ontario]

Check out the MapServer OGC Web Services Workshop at 
http://ms-ogc-workshop.maptools.org/).  There are mapfile examples for WMS with 
vector and raster data.

..Tom



-Original Message-
From: mapserver-users-boun...@lists.osgeo.org on behalf of Chris Weed
Sent: Mon 01-Jun-09 17:44
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] sample WMS raster map file and sample data
 
Hi,
I am trying to set up a WMS mapserver, but I can't find a sample image
and map file to test with.
Any help would be greatly appreciated.
Thanks,
Chris
___
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] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Adrian Popa

Thank you for the info - I will give it a try on a testbed installation :)

Christopher Schmidt wrote:

On Mon, Jun 01, 2009 at 05:20:25PM +0300, Adrian Popa wrote:
  

Hello Christopher,

Your example has the elements that I need :) Is this basic functionality 
included in openlayers by default, or is it an addon?
Also - will openlayers work with mapserver by default - or through WMS 
(I don't have experience with WMS)?



Both, but WMS is highly recommended, because using MapServer as CGI is
prone to hide errors due to misconfiguration. (Setting up WMS requires
only adding:

  metadata
web
  wms_srs "EPSG:4326"
end
  end

to your mapfile to work minimally; everything else is optional.)

The recovery map example has a significant amount of code, but it is
using the trunk version of OpenLayers with no additional features. The
UI, some of the popups, the layer addition/removal are all additional
pieces added to that UI, but there are other toolkits (Like GeoExt) that
provide these in open source software as well.

Best Regards,

  



--
--- 
Adrian Popa

NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP & Metro
Compartiment IP Core & Backbone
Phone: +40 21 400 3099

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