Re: [mapserver-users] issue with the issue tracker

2010-10-12 Thread Alan Boudreault
It depends where the link comes from. You can report it here, I'll take care 
to fix it.

Alan

On October 12, 2010 05:07:17 pm Richard Greenwood wrote:
> Thanks, that works. Any idea who I should contact to get the link fixed?
> 
> Rich
> 
> On Tue, Oct 12, 2010 at 1:57 PM, Alan Boudreault
> 
>  wrote:
> > This URL is effectively invalid. Try this one:
> > 
> > http://trac.osgeo.org/mapserver/newticket
> > 
> > Alan
> > 
> > On October 12, 2010 03:49:09 pm Richard Greenwood wrote:
> >> When I try to create a new ticket at:
> >> 
> >> http://trac.osgeo.org/mapserver/mapserver/newticket
> >> 
> >> I get:
> >> 
> >> Error: Not Found
> >> 
> >> No handler matched request to /mapserver/newticket
> >> 
> >> 
> >> 
> >> I have tried while logged in with my OSGEO account, also when logged
> >> out.
> >> 
> >> 
> >> 
> >> Thanks,
> >> 
> >> Rich
> > 
> > --
> > 
> > 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] issue with the issue tracker

2010-10-12 Thread Richard Greenwood
Thanks, that works. Any idea who I should contact to get the link fixed?

Rich

On Tue, Oct 12, 2010 at 1:57 PM, Alan Boudreault
 wrote:
> This URL is effectively invalid. Try this one:
>
> http://trac.osgeo.org/mapserver/newticket
>
> Alan
>
> On October 12, 2010 03:49:09 pm Richard Greenwood wrote:
>
>> When I try to create a new ticket at:
>
>> http://trac.osgeo.org/mapserver/mapserver/newticket
>
>> I get:
>
>> Error: Not Found
>
>> No handler matched request to /mapserver/newticket
>
>>
>
>> I have tried while logged in with my OSGEO account, also when logged out.
>
>>
>
>> Thanks,
>
>> Rich
>
> --
>
> Alan Boudreault
>
> Mapgears
>
> http://www.mapgears.com



-- 
Richard Greenwood
richard.greenw...@gmail.com
www.greenwoodmap.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver and netCDF data format.

2010-10-12 Thread Frank Warmerdam

abhijeet kodgire wrote:
My question here was, Can we upload/publish the netCDF data with WCS 
protocol and then get spatial/temporal subset of it back as netCDF file 
with GetCoverage request? 


Abhijeet,

In general yes.  But I would advise you to start by investigating how
well GDAL supports the netcdf data you would like to work with.  It
will generally try and "unroll" temporal dimensions as raster bands
but it sometimes has problems correcting identifying what dimension
is what.

I have not personally used the temporal support in MapServer WCS
so I'm not too sure how well it works.  At the least it may be fairly
involved to use it.


If yes, How to publish your netCDF data with WCS ? what is the

> output of GetCoverage request? (Is it netCDF file or

some other format?).


You can configure desired output formats for WCS using the
OUTPUTFORMAT block in a map file.  It is certainly possible to
offer netcdf products from MapServer WCS with the correct
configuration.

Be aware that MapServer/GDAL netcdf output is relatively
simplistic.  You will need to investigate it's suitability
for your needs.

Does GDAL library convert the netCDF data to some other format nd 
publish it with mapserver? I was wondering how t works.


GDAL is the raster reading library for MapServer and MapServer
can directly consume any raster format supported by GDAL without
conversion as long as things are built properly.

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

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


Re: [mapserver-users] issue with the issue tracker

2010-10-12 Thread Alan Boudreault
This URL is effectively invalid. Try this one:

http://trac.osgeo.org/mapserver/newticket

Alan

On October 12, 2010 03:49:09 pm Richard Greenwood wrote:
> When I try to create a new ticket at:
>   http://trac.osgeo.org/mapserver/mapserver/newticket
> I get:
>   Error: Not Found
>   No handler matched request to /mapserver/newticket
> 
> I have tried while logged in with my OSGEO account, also when logged out.
> 
> Thanks,
> Rich

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


[mapserver-users] issue with the issue tracker

2010-10-12 Thread Richard Greenwood
When I try to create a new ticket at:
  http://trac.osgeo.org/mapserver/mapserver/newticket
I get:
  Error: Not Found
  No handler matched request to /mapserver/newticket

I have tried while logged in with my OSGEO account, also when logged out.

Thanks,
Rich



-- 
Richard Greenwood
richard.greenw...@gmail.com
www.greenwoodmap.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: mapserver and netCDF data format.

2010-10-12 Thread P Kishor
I have not used NetCDF with MapServer, so take all of my response with
a grain or two of salt. On the other hand, I am using NetCDF and am
using MapServer (just not together), so this might help...

On Tue, Oct 12, 2010 at 11:42 AM, abhijeet kodgire
 wrote:
> Could anyone please reply to my previous email attached here?
>
> Thanks,
> Abhijeet
>
> On Tue, Oct 12, 2010 at 1:07 AM, abhijeet kodgire
>  wrote:
>>
>>
>> Hello All,
>>
>> I am investigating mapserver to see if we can use it for our project. I
>> had few doubts after reading the data formats supported by mapserver.
>>
>> Mapserver document says netCDF dataformat is supported with GDAL library.
>>


Yes, GDAL can read NetCDF, but remember, NetCDF is a generic data
format, not a geographic data format. You can store geographic data in
it, but it can be any kind of hierarchical data. It would be your
responsibility to read your data using GDAL, and then, use GDAL to
convert its relevant portions (the geographic portions) into one of
the many formats that MapServer can understand.

>> My question here was, Can we upload/publish the netCDF data with WCS
>> protocol and then get spatial/temporal subset of it back as netCDF file with
>> GetCoverage request? If yes, How to publish your netCDF data with WCS ? what
>> is the output of GetCoverage request? (Is it netCDF file or some other
>> format?). I ma asking this because netCDF format is not directly supported
>> in mapserver, one has to install GDAL library.
>>
>> Does GDAL library convert the netCDF data to some other format nd publish
>> it with mapserver? I was wondering how t works.


You are responsible for reading the NetCDF data using GDAL, extracting
the geographic portions, and converting them. GDAL is basically a
converter that can read in various formats and write out various
formats.

>>
>> Let me know what you people think, by reading document its not very clear
>> if I can use mapserver for my project.
>>
>> Thanks,
>> Abhijeet
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>



-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
---
Assertions are politics; backing up assertions with evidence is science
===
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: mapserver and netCDF data format.

2010-10-12 Thread abhijeet kodgire
Could anyone please reply to my previous email attached here?

Thanks,
Abhijeet

On Tue, Oct 12, 2010 at 1:07 AM, abhijeet kodgire <
kodgire.abhij...@gmail.com> wrote:

>
> Hello All,
>
> I am investigating mapserver to see if we can use it for our project. I had
> few doubts after reading the data formats supported by mapserver.
>
> Mapserver document says netCDF dataformat is supported with GDAL library.
>
> My question here was, Can we upload/publish the netCDF data with WCS
> protocol and then get spatial/temporal subset of it back as netCDF file with
> GetCoverage request? If yes, How to publish your netCDF data with WCS ? what
> is the output of GetCoverage request? (Is it netCDF file or some other
> format?). I ma asking this because netCDF format is not directly supported
> in mapserver, one has to install GDAL library.
>
> Does GDAL library convert the netCDF data to some other format nd publish
> it with mapserver? I was wondering how t works.
>
> Let me know what you people think, by reading document its not very clear
> if I can use mapserver for my project.
>
> Thanks,
> Abhijeet
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Problem with wfs.php

2010-10-12 Thread Richard LEHAUT
Hi,
*I followed your instructions, I try use "curl-setopt-array"  with
"curl_multi_init".  *

*function curl_get_multi_content($list_layer) {
$curl_init = array();

foreach($list_layer as $i => $layer) {
unset($options);
$options = array
(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CONNECTTIMEOUT => 120,
CURLOPT_TIMEOUT=> 120,
CURLOPT_POST   => 1,
CURLOPT_POSTFIELDS => $layer['data'].$layer['filter'],
);

$curl_init[$i]= curl_init($layer['url']);
curl_setopt_array($curl_init[$i],$options);
}

$curl_multi = curl_multi_init();

foreach($list_layer as $i => $layer) {
curl_multi_add_handle($curl_multi, $curl_init[$i]);
}
do {
curl_multi_exec($curl_multi, $running);
} while($running > 0);

foreach($list_layer as $i => $layer) {
echo curl_multi_getcontent($curl_init[$i]);
$list_layer[$i] =
$layer+Array('info'=>get_info_xml(curl_multi_getcontent($curl_init[$i]),
$layer['name']));
curl_close($curl_init[$i]);
}
return $list_layer;
}*

*With my server, result is correct. I've a error with server Carmen :*
ZNIEFF_de_type_1===>
Warning: file_get_contents(
http://ws.carmen.developpement-durable.gouv.fr/cgi-bin/mapserv?service_idx=8&map=%2Fmnt%2Fdata_carmen%2FBN%2FPublication%2Fwms_nature.map&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=ZNIEFF_de_type_1&FILTER=%3CFilter%3E%3CIntersect%3E%3CPropertyName%3EGeometry%3C%2FPropertyName%3E%3Cgml%3APolygon%3E%3Cgml%3AouterBoundaryIs%3E%3Cgml%3ALinearRing%3E%3Cgml%3Acoordinates%3E%28526467%2C6821671%20526471%2C6821675%20526480%2C6821677%20526482%2C6821676%20526491%2C6821679%20526490%2C6821682%20526546%2C6821697%20526615%2C6821701%20526616%2C6821699%20526627%2C6821699%20526628%2C6821702%20526708%2C6821705%20526804%2C6821709%20526821%2C6821701%20526886%2C6821665%20526916%2C6821658%20526933%2C6821616%20526961%2C6821574%20526969%2C6821565%20526982%2C6821513%20526833%2C6821533%20526833%2C6821517%20526813%2C6821513%20526801%2C6821508%20526749%2C6821480%20526732%2C6821469%20526718%2C6821484%20526688%2C6821481%20526616%2C6821481%20526620%2C6821448%20526584%2C6821438%20526547%2Cin
/applications/www/carmen/WFS/wfs.php on line 123

Warning: Cannot modify header information - headers already sent by (output
started at /applications/www/carmen/WFS/wfs.php:123) in
/applications/www/carmen/WFS/wfs.php on line 91.

*It's the same message of the first error (number of  ligne changed), but
the function working properly on my server

Thanks for your help.*

Richard LEHAUT/Tiolebucheron

2010/10/11 Yves Jacolin 

> Hi,
>
> Don't use file_get_contents but cURL rather:
> http://www.php.net/manual/fr/function.curl-setopt-array.php
>
> Regards,
>
> Y.
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] mode=nquery + tileindex

2010-10-12 Thread Wendell Turner
Does mode=nquery work on layers with a tileindex?  I've not
been able to get that to work.

The query works fine on layers with a single shapefile, but
when a layer with multiple shapefiles using a tileindex is
referenced, nothing is output and mapserv seems to crash.
Do queries work on layers with multiple shapefiles?

Wendell

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


Re: [mapserver-users] Re: mapserver and i18n

2010-10-12 Thread Yves Moisan

 Le 2010-10-12 09:36, tellett a écrit :

Hi Stephen, at the moment I'm writing a draft RFC that proposes changes to
make mapserver 'INSPIRE compliant', we're proposing a whole package of
changes (hopefully not too major!!) and I could add this problem to that. Of
course we're creating separate tickets where relevant so I could do this as
well.

Cheers

Tom

Hi All,

I18N is also of significant interest for us north of the US border.  
There are close to 7 Million french speaking folks in Québec.


Cheers,

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


[mapserver-users] Re: mapserver and i18n

2010-10-12 Thread tellett

Hi Stephen, at the moment I'm writing a draft RFC that proposes changes to
make mapserver 'INSPIRE compliant', we're proposing a whole package of
changes (hopefully not too major!!) and I could add this problem to that. Of
course we're creating separate tickets where relevant so I could do this as
well.

Cheers

Tom 
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/mapserver-and-i18n-tp5607348p5626700.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: mapserver and i18n

2010-10-12 Thread Stephen Woodbridge

Hi Thomas,

I think it would be good it someone summarized this thread in an 
enhancement request ticket. Ideally someone that knows what is required 
by INSPIRE, which is not me :) Posting the ticket number to the list is 
also a good idea so others with interest can add themselves to the CC list.


I'm not aware of any efforts to actually do this at the moment, but from 
the discussions it seems like something that would be generally useful.


-Steve W

On 10/12/2010 9:15 AM, tellett wrote:



I think that what needs to be passed to mapserver is something like
lang=en_US and that is then used to select the appropriate alias. And if
that does not exist then there are appropriate rules for how to handle
it or error out.

-Steve



this is much better:



"ows_title" "highways" # default layer title
"ows_title_fr" "..." # france layer title



"ows_group_title" "Infrastructure" # default group name
"ows_group_title_fr" "..." # france group name



"gml_ID_alias" "Number" # default alias
"gml_NAME_alias_fr" '... # france alias



NAME 'good'  # default class name
NAME_fr 'good'  # france class name (oups, not looking good)



Thanks a lot and regards,
-Daniel



I'd agree entirely with Steve and Daniel on this. We're currently looking at
creating INSPIRE compliant WMS and so we desperately need to solve this
problem, like everyone else we're really loath to create duplicate mapfiles.
Don't suppose this has been suggested in an RFC or set as a ticket yet?Guess
I could just not be lazy and check myself...:)

Tom


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


RE: [mapserver-users] WMS Request for a single point?

2010-10-12 Thread Fawcett, David (MPCA)
Robert, 

This is an example of changing mapfile parameters via the request URL.  It is 
documented on this page:
http://mapserver.org/cgi/controls.html

If Steve's example using 'mapsize' doesn't work, I would try 'map_size'.  You 
are just setting/changing the values for the SIZE and EXTENT properties in the 
MapFile.  See the documentation here:  http://mapserver.org/mapfile/map.html

Also, I haven't tested it, but you could try specifying the map extent, which 
it sounds like you want to set to the same extent (bbox) as your image.  I 
would try something like &map_extent=-97+43+-92+49 where the coords in the 
snippet match the bbox of your image.  

Note, you will want to make sure that the aspect ratio of your map_size matches 
the aspect ratio of your extent.  If not, MapServer will adjust the extent to 
fill the image.  

David. 


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert Hicks
Sent: Tuesday, October 12, 2010 8:06 AM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org; Fawcett, David (MPCA)
Subject: Re: [mapserver-users] WMS Request for a single point?

Ok after some sleuthing, I'm going to assume the bounding box of the
image is that specified in the map file. Is there a way to specify it
in the call?

Also so more immediate questions: What kind of request is this? Is
there a spec available? I'm really only used to GetMap requests so
this is a little new to me.

On Fri, Oct 8, 2010 at 2:30 PM, Robert Hicks  wrote:
> Ok great! So that gave me an image with a push pin on it. So here is
> another question: what is the bounding box of the requested image, and
> can I specify it? I need to be able to merge this image together with
> another GeoTiff (preferably using gdalmerge) so that the point lands
> on the same geographic location in the base image. The original image
> is in EPSG 4326, and I'm not sure what units of measurement this call
> is using. I tried requesting the point layer as a tif but I think it
> just gave me a regular non geotiff, which is fine because I can update
> the header using gdal_translate but I need to know the bounding box in
> 4326.
>
> On Fri, Oct 8, 2010 at 12:41 PM, Lime, Steve D (DNR)
>  wrote:
>> I think you need:
>>
>>  &mapsize=1000+500
>>
>> Or set it in the mapfile and mapserver will use that.
>>
>> Steve
>>
>> -Original Message-
>> From: mapserver-users-boun...@lists.osgeo.org 
>> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert Hicks
>> Sent: Friday, October 08, 2010 11:40 AM
>> To: Fawcett, David (MPCA)
>> Cc: mapserver-users@lists.osgeo.org
>> Subject: Re: [mapserver-users] WMS Request for a single point?
>>
>> Great, thanks for all the help everyone! I tried that command:
>> http://10.0.11.54:8008/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/reference.map&mode=map&map_layer[0]=FEATURE+POINTS+27+696000+END+END&WIDTH=1000&HEIGHT=500
>> (I had to change a few things), and I get this error:
>>
>> "msDrawMap(): Image handling error. Unable to initialize image.
>> msPrepareImage(): General error message. Image dimensions not
>> specified. msCalculateScale(): General error message. Invalid image
>> width or height. "
>>
>> Any ideas?
>>
>> On Fri, Oct 8, 2010 at 12:14 PM, Fawcett, David (MPCA)
>>  wrote:
>>> This example works:  
>>> http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/offset.map&mode=map&map_layer[0]=FEATURE+POINTS+27+696000+END+END
>>>
>>> You can access your layer through the layer name or it's (zero-based) index.
>>>
>>> The simple example layer is below with a simple circle symbol defined in 
>>> the map file.
>>>
>>>  LAYER
>>>    NAME 'singlepoint'
>>>    TYPE point
>>>    STATUS DEFAULT
>>>    CLASS
>>>        STYLE
>>>            COLOR 255 0 0
>>>            SIZE 15
>>>            symbol "circle"
>>>        END
>>>    END
>>>   END
>>>
>>> SYMBOL
>>>  NAME "circle"
>>>  TYPE ellipse
>>>  FILLED true
>>>  POINTS
>>>    1 1
>>>  END
>>> END
>>>
>>>
>>> -Original Message-
>>> From: mapserver-users-boun...@lists.osgeo.org 
>>> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert Hicks
>>> Sent: Friday, October 08, 2010 11:07 AM
>>> To: thomas bonfort
>>> Cc: mapserver-users@lists.osgeo.org
>>> Subject: Re: [mapserver-users] WMS Request for a single point?
>>>
>>> Ok, that looks extremely promising. I'm going to go ahead and try it
>>> on my local Mapserver.
>>>
>>> On Fri, Oct 8, 2010 at 12:03 PM, thomas bonfort
>>>  wrote:
 have a look at 
 http://www.mail-archive.com/mapserver-us...@lists.umn.edu/msg05881.html

 the syntax for cgi commands has changed since then, you'd have to use
 something like
 &map.layer[site]=feature+points+582248.23+4841497.11+end+end

 or &map.layer[site].feature.points=582248.23+4841497.11

 (I cant remember what syntax is correct)

 --
 regards,
 thomas

 On Fri, Oct 

[mapserver-users] Re: mapserver and i18n

2010-10-12 Thread tellett

> I think that what needs to be passed to mapserver is something like
> lang=en_US and that is then used to select the appropriate alias. And if
> that does not exist then there are appropriate rules for how to handle
> it or error out.
>
> -Steve 

>this is much better:

>"ows_title" "highways" # default layer title
>"ows_title_fr" "..." # france layer title

>"ows_group_title" "Infrastructure" # default group name
>"ows_group_title_fr" "..." # france group name

>"gml_ID_alias" "Number" # default alias
>"gml_NAME_alias_fr" '... # france alias

>NAME 'good'  # default class name
>NAME_fr 'good'  # france class name (oups, not looking good)

>Thanks a lot and regards,
>-Daniel 


I'd agree entirely with Steve and Daniel on this. We're currently looking at
creating INSPIRE compliant WMS and so we desperately need to solve this
problem, like everyone else we're really loath to create duplicate mapfiles.
Don't suppose this has been suggested in an RFC or set as a ticket yet?Guess
I could just not be lazy and check myself...:)

Tom
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/mapserver-and-i18n-tp5607348p5626622.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] WMS Request for a single point?

2010-10-12 Thread Robert Hicks
Ok after some sleuthing, I'm going to assume the bounding box of the
image is that specified in the map file. Is there a way to specify it
in the call?

Also so more immediate questions: What kind of request is this? Is
there a spec available? I'm really only used to GetMap requests so
this is a little new to me.

On Fri, Oct 8, 2010 at 2:30 PM, Robert Hicks  wrote:
> Ok great! So that gave me an image with a push pin on it. So here is
> another question: what is the bounding box of the requested image, and
> can I specify it? I need to be able to merge this image together with
> another GeoTiff (preferably using gdalmerge) so that the point lands
> on the same geographic location in the base image. The original image
> is in EPSG 4326, and I'm not sure what units of measurement this call
> is using. I tried requesting the point layer as a tif but I think it
> just gave me a regular non geotiff, which is fine because I can update
> the header using gdal_translate but I need to know the bounding box in
> 4326.
>
> On Fri, Oct 8, 2010 at 12:41 PM, Lime, Steve D (DNR)
>  wrote:
>> I think you need:
>>
>>  &mapsize=1000+500
>>
>> Or set it in the mapfile and mapserver will use that.
>>
>> Steve
>>
>> -Original Message-
>> From: mapserver-users-boun...@lists.osgeo.org 
>> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert Hicks
>> Sent: Friday, October 08, 2010 11:40 AM
>> To: Fawcett, David (MPCA)
>> Cc: mapserver-users@lists.osgeo.org
>> Subject: Re: [mapserver-users] WMS Request for a single point?
>>
>> Great, thanks for all the help everyone! I tried that command:
>> http://10.0.11.54:8008/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/reference.map&mode=map&map_layer[0]=FEATURE+POINTS+27+696000+END+END&WIDTH=1000&HEIGHT=500
>> (I had to change a few things), and I get this error:
>>
>> "msDrawMap(): Image handling error. Unable to initialize image.
>> msPrepareImage(): General error message. Image dimensions not
>> specified. msCalculateScale(): General error message. Invalid image
>> width or height. "
>>
>> Any ideas?
>>
>> On Fri, Oct 8, 2010 at 12:14 PM, Fawcett, David (MPCA)
>>  wrote:
>>> This example works:  
>>> http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/offset.map&mode=map&map_layer[0]=FEATURE+POINTS+27+696000+END+END
>>>
>>> You can access your layer through the layer name or it's (zero-based) index.
>>>
>>> The simple example layer is below with a simple circle symbol defined in 
>>> the map file.
>>>
>>>  LAYER
>>>    NAME 'singlepoint'
>>>    TYPE point
>>>    STATUS DEFAULT
>>>    CLASS
>>>        STYLE
>>>            COLOR 255 0 0
>>>            SIZE 15
>>>            symbol "circle"
>>>        END
>>>    END
>>>   END
>>>
>>> SYMBOL
>>>  NAME "circle"
>>>  TYPE ellipse
>>>  FILLED true
>>>  POINTS
>>>    1 1
>>>  END
>>> END
>>>
>>>
>>> -Original Message-
>>> From: mapserver-users-boun...@lists.osgeo.org 
>>> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert Hicks
>>> Sent: Friday, October 08, 2010 11:07 AM
>>> To: thomas bonfort
>>> Cc: mapserver-users@lists.osgeo.org
>>> Subject: Re: [mapserver-users] WMS Request for a single point?
>>>
>>> Ok, that looks extremely promising. I'm going to go ahead and try it
>>> on my local Mapserver.
>>>
>>> On Fri, Oct 8, 2010 at 12:03 PM, thomas bonfort
>>>  wrote:
 have a look at 
 http://www.mail-archive.com/mapserver-us...@lists.umn.edu/msg05881.html

 the syntax for cgi commands has changed since then, you'd have to use
 something like
 &map.layer[site]=feature+points+582248.23+4841497.11+end+end

 or &map.layer[site].feature.points=582248.23+4841497.11

 (I cant remember what syntax is correct)

 --
 regards,
 thomas

 On Fri, Oct 8, 2010 at 17:10, Robert Hicks  wrote:
> Hello all! Ok, this is probably a long shot but, is there a way to
> request an image from Mapserver that is just a point? The idea is I
> have another larger (reference) map image and I want to place a push
> pin on top of it in a specified point. It has to be a WMS call so that
> I can take the image and merge it with the other larger map into one
> so that it can be put into a PDF. Any help would be appreciated.
>
> Thanks!
>
> --
> web http://www.hyxspace.com
> aim hyx1138
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>

>>>
>>>
>>>
>>> --
>>> web http://www.hyxspace.com
>>> aim hyx1138
>>> ___
>>> mapserver-users mailing list
>>> mapserver-users@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>>
>>>
>>
>>
>>
>> --
>> web http://www.hyxspace.com
>> aim hyx1138
>> ___
>> mapserver-users mailing list
>> mapserver-user