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 <rob...@gmail.com> 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) > <steve.l...@state.mn.us> 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+270000+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) >> <david.fawc...@state.mn.us> wrote: >>> This example works: >>> http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/offset.map&mode=map&map_layer[0]=FEATURE+POINTS+270000+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 >>> <thomas.bonf...@gmail.com> 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 <rob...@gmail.com> 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-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> > > > > -- > web http://www.hyxspace.com > aim hyx1138 > -- web http://www.hyxspace.com aim hyx1138 _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users