Re: [mapserver-users] Compile MapServer with ArcServer 10 support

2013-03-19 Thread Newcomb, Doug
Eric,
What do you mean by Arcserver 10 support?  Mapserver provides support as a
server in OGC protocols that ArcServer should consume, see
http://mapserver.org/ogc/index.html

Doug


On Mon, Mar 18, 2013 at 3:22 PM, Weisbender, Eric  wrote:

>  Hello,
>
> ** **
>
> Is there any documentation on how to compile MapServer with ArcServer 10
> support?  Any help is greatly appreciated.
>
> ** **
>
> Thanks,
>
> ** **
>
> Eric Weisbender
>
> ** **
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


-- 
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newc...@fws.gov
-
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of the
Interior.   Life is too short for undocumented, proprietary data formats.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] query problems

2013-03-19 Thread Mark Mirrlees

Hey all, One last issue (well for know anyway)... I want to create a basic 
query so when I open the query I am able to select the major roads and 
expressways from the mjrroads layer that was created! I have already created 
the header and footers but not sure where to stick the particular code in the 
global.map file that contains the headers and footers... Here is my code.# Map 
file created from QGIS project file 
C:/wwwroot/M_Mirrlees_Assign3/markassign3.qgs
# Edit this file to customize for your map interface
# (Created with PyQgis MapServer Export plugin)
MAP
  NAME "QGIS-MAP"
  # Map image size
  SIZE 500 500
  UNITS meters  EXTENT -240 -90 310 400
  FONTSET "/wwwroot/fonts/fontset.txt"
  SYMBOLSET "/wwwroot/symbols/symbols.sty"
  PROJECTION
"proj=lcc"
 "ellps=GRS80"
 "lat_0=49"
 "lon_0=-95"
 "lat_1=49"
 "lat_2=77"
 "datum=NAD83"
 "units=m"
 "no_defs"
  END  # Background color for the map canvas -- change as desired
  IMAGECOLOR 0 100 250
  IMAGEQUALITY 95
  IMAGETYPE agg  OUTPUTFORMAT
NAME agg
DRIVER AGG/PNG
IMAGEMODE RGB
  END
  # Legend
  LEGEND
  IMAGECOLOR 255 255 255
STATUS ON
KEYSIZE 18 12
LABEL
  TYPE BITMAP
  SIZE MEDIUM
  COLOR 0 0 89
END
  END  # Web interface definition. Only the template parameter
  # is required to display a map. See MapServer documentation
  WEB
# Set IMAGEPATH to the path where MapServer should
# write its output.
IMAGEPATH "/ms4w/tmp/ms_tmp/"# Set IMAGEURL to the url that points to 
IMAGEPATH
# as defined in your web server configuration
IMAGEURL "/ms_tmp/"# WMS server settings
METADATA
  'ows_title'   'QGIS-MAP'
  'ows_onlineresource'  
'localhost.com/cgi-bin/mapserv.exe?map=C:/wwwroot/M_Mirrlees_Assign3/global.map'
  'ows_srs' 'EPSG:4326'
END#Scale range at which web interface will operate
# Template and header/footer settings
# Only the template parameter is required to display a map. See MapServer 
documentation
TEMPLATE 'C:/wwwroot/M_Mirrlees_Assign3/global.html'
  END
  
 SCALEBAR
  STATUS EMBED
  UNITS KILOMETERS
  INTERVALS 3
  TRANSPARENT TRUE
  OUTLINECOLOR 0 0 0
 END # End for scalebar
 
 QUERYMAP
  STATUS ON   # sets the map to be queryable
  STYLE HILITE  # the selected object is highligthed
 END # End for QueryMap
 
  WEB
  TEMPLATE global.html
  IMAGEPATH "/ms4w/tmp/ms_tmp/"
  IMAGEURL "/ms_tmp/"
  HEADER"/maps/M_Mirrlees_assign3/header.html"
  FOOTER"maps/M_Mirrlees_assign3/footer.html"
  EMPTY   "/maps/M_Mirrlees_Assign3/blank.html"
 END #End for WEB  LAYER
NAME 'mjrroads'
TYPE LINE
DUMP false
  EXTENT -143.210462 39.001401 -50.461045 85.911094
DATA '../data/mjrroads.shp'
METADATA
  'ows_title' 'mjrroads'
END
STATUS default
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'datum=WGS84'
'no_defs'
END
 
CLASSITEM 'TYPE'
CLASS
  NAME "default"
  EXPRESSION "" 
   STYLE
 WIDTH 0.91 
 COLOR 201 157 32
   END
END
CLASS
  NAME "TYPE = Expressway" 
  EXPRESSION "Expressway" 
   STYLE
 WIDTH 2.0 
 COLOR 255 0 0
   END
END
CLASS
  NAME "TYPE = Primary Highway" 
  EXPRESSION "Primary Highway" 
  MAXSCALEDENOM 250
STYLE
 WIDTH 1.0 
 COLOR 0 0 0
   END
END
  END  I must apologize for all the questions, as i'm still fairly new at this 
but everyone who has taken the time to help me is quite appreciated as this is 
making a lot of sense now. Thanks,Mark  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] label issues...

2013-03-19 Thread Mark Mirrlees

Hi Steve, Thanks for yor help! I managed to figure it out what I needed to do 
to make changes to the different font etc, and the main thing was I forgot to 
put "LABELNAME" near the top of the code as now it works! Mark

 
 > Date: Mon, 18 Mar 2013 18:21:04 -0400
> From: wood...@swoodbridge.com
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] label issues...
> 
> So you want you labels to be white?
> 
> What color is your background?
> 
> Do you have a FONTSET "fonts.txt" that maps arial to a font. I assume 
> you probably do as it is not throwing an error about it.
> 
> Also you can get some debug info if you add to the MAP section:
> 
> CONFIG MS_ERRORFILE "stderr"
> DEBUG 5
> 
> Then when you render you map look in the apache error.log file. Or try 
> it with:
> 
> shp2img -m mymapfile.map -o image.png
> 
> There are lots of other parameters, but that should be enough to get 
> some output.
> 
> -Steve
> 
> On 3/18/2013 5:30 PM, Mark Mirrlees wrote:
> > Hi there,
> >
> > Ok so I have revised the mapfile to this...
> >
> >LAYER
> >  NAME 'mjcities'
> >  TYPE POINT
> >  DUMP false
> >EXTENT -143.210462 39.001401 -50.461045 85.911094
> >  DATA '../data/mjcities.shp'
> >  METADATA
> >'ows_title' 'mjcities'
> >  END
> >  STATUS default
> >   MAXSCALEDENOM 100
> >  TRANSPARENCY 100
> >  PROJECTION
> >  'proj=longlat'
> >  'datum=WGS84'
> >  'no_defs'
> >  END
> >  CLASS
> >  NAME 'mjcities'
> > STYLE
> >   SYMBOL "circle"
> >   SIZE 15.0
> >   OUTLINECOLOR 0 0 0
> >   COLOR 182 109 194
> > END
> > LABEL
> > COLOR 255 255 255
> > FONT "arial"
> > TYPE truetype
> > SIZE 10
> > ANGLE 0
> > POSITION cc
> > FORCE false
> > PARTIALS false
> > END
> >
> > But when I zoom into my layers I see the symbols that were created but
> > the labels still don't show up...any suggestions?
> >
> > Thanks for the help everyone as I do appreciate it!
> >
> > Mark
> >
> >
> >
> > ___
> > 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


Re: [mapserver-users] mapcache returns error 400 bad request

2013-03-19 Thread Stephen Woodbridge

This is one of mine:

  

  
image/png
agg_qn
Tiger_2011
/u/data/tiger2011-maps/tiger2011-mc.map
  



  http://localhost/cgi-bin/mapserv-60

  

Here is an OpenLayers app pulling tiles:

http://imaptools.com:8080/demo/tiger-demo2.html

This is what a tile request looks like:

http://imaptools.com:8080/mapcache/?LAYERS=tiger-base&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-10018754.171394,-2504688.5428484,-7514065.6285457,2.4121254682541e-7&WIDTH=256&HEIGHT=256

Note that this is using the Google Spherical Mercator projection.

-Steve

On 3/19/2013 2:35 PM, Icadedt wrote:

Stephen,

do you have an explicit example, please?
Does it mean i have to do apache url rewriting?

my mapcache source tag is it correct? :


  
http://localhost/cgi-bin/mapserv?
  


image/png
dep_point_pop
/var/www/mapfile/dep_point.map









*De :* Stephen Woodbridge 
*À :* mapserver-users@lists.osgeo.org
*Envoyé le :* Mardi 19 mars 2013 18h34
*Objet :* Re: [mapserver-users] mapcache returns error 400 bad request

The point that Thomas is making is that mapcache understands WMS
requests NOT mapserver cgi requests

http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256

This does not work because it is not a valid WMS request.

If you go to the demo page for the WMS service, and view source, then
you can see how to setup a OpenLayers to talk to mapcache.

In FF, if you right click on the map, and select view image, you will
see what the url for the image or tile looks like.

-Steve W

On 3/19/2013 1:08 PM, Icadedt wrote:
 > HI,
 >
 > http://localhost/mapcache/demo works great, all the links inside work
 > great to.
 >
 > even if i put out "mode=map" , i have the same error 400 'bad request'
 >
 > you said "make sure your mapserv+mapfile are configured for WMS access",
 > how to check this?
 >
 >
 > 
 > *De :* thomas bonfort mailto:thomas.bonf...@gmail.com>>
 > *À :* Icadedt mailto:icad...@yahoo.fr>>
 > *Cc :* "mapserver-users@lists.osgeo.org
"
mailto:mapserver-users@lists.osgeo.org>>
 > *Envoyé le :* Mardi 19 mars 2013 17h08
 > *Objet :* Re: [mapserver-users] mapcache returns error 400 bad request
 >
 > mapcache doesn't understand any "mode=map" mapserver queries, only WMS.
 >
 > - make sure your mapserv+mapfile are configured for WMS access.
 > - test your mapcache service by going to http://server/mapcache/demo
 >
 > --
 > thomas
 >
 > On 19 March 2013 16:55, Icadedt mailto:icad...@yahoo.fr>
 > >> wrote:
 >  > hi ,
 >  > when i test this url:
 >  >
 >  >
 >
http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
 >  >
 >  >
 >  > i get the error 400 'bad request' ?
 >  >
 >  >
 >  > my layer called 'test' comes from mapcache tileset.
 >  >
 >  > when i test my url without mapcache it works great:
 >  >
 >
http://localhost/cgi-bin/mapserv?map=/var/www/mapfile/dep_point.map&layers=dep_point_pop&mode=map&map_imagetype=png&mapext=135+0+180+45&imgext=135+0+180+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
 >  >
 >  >
 >  >
 >  > Here is my mapcache.xml:
 >  > 
 >  >
 >  > 
 >  >
 >  > 
 >  >
 >  >  /tmp
 >  >  
 >  > 
 >  >
 >  >
 >  >
 >  >
 >  > 
 >  >  
 >  >  http://localhost/cgi-bin/mapserv?
 >  >  
 >  >  
 >  >  
 >  >image/png
 >  >dep_point_pop
 >  >/var/www/mapfile/dep_point.map
 >  >  
 >  >  
 >  >
 >  >
 > >
 >  >
 >  > monserv
 >  >  disk
 >  >  WGS84
 >  >  g
 >  >  PNG
 >  >  5 5
 >  >  10
 >  >  3600
 >  >
 >  >
 >  >
 >  >JPEG
 >  >
 >  >
 >  > assemble
 >  >  bilinear
 >  >  JPEG
 >  >  4096
 >  >  
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >report
 >  >/tmp
 >  >
 > > 
 >  >
 >  >
 >  >
 >  > this is my getcapabilities :
 >  > http://localhost/mapcache?service=wms&request=getcapabilities
 >  >
 >  > returns:
 >  >
 >  >  version="1.1.1">OGC:WMSno
 >  > title set, add some in metadata  >
 >
xlink:href="http://localhost/mapcache?"/>application/vnd.ogc.wms_xml  >
 >
xlink:href="http://localhost/mapcache?"/>image/pngimage/jpeg  >
 >
xlink:href="http://localhost/mapcache?"/>text/plainapplication/vnd.ogc.gml  >
 >
xlink:href="http://localhost/mapcache?"/>text/plainEPSG:4326  > SRS="EPSG:4326" minx="-180.00" miny="-90.00" maxx="180.00"
 >  > maxy="90.00"/>0.70312500
 > 0.3515625

Re: [mapserver-users] LABELS - changing from single map to tiles and overlays - HOW?

2013-03-19 Thread thomas bonfort
Worth,

previously:

layer
 type annotation
 ...
 class
  style
#markerstyle
  end
  label
#labelstuff
  end
 end
end

now:

layer
 type point|polygon|whatever
 ..
 class
 #style
   #any style here applies to the actual geometry, i.e. for polygons
this would be a "fill". don't put anything here if you only want
markers next to your labels
 #end
 label
  #labelstuff
  style
   geomtransform "labelpnt"
   #markerstyle, the same as the one used previously
  end
 end
end

--
thomas

On 19 March 2013 20:38, Worth Lutz  wrote:
> Donald,
>
>
>
> How does the change to “TYPE POINT” work for polygon shapes or do you just
> change that to “TYPE POLYGON” and only have a label in the “CLASS” block?
>
>
>
> I’m still confused on how to manage labels on multiple overlay layers. That
> may be a long term project for my application. I was hoping for a simple
> solution.
>
>
>
> I did figure out that putting
>
> PROCESSING “LABEL_NO_CLIP=True”
>
> in my layer fixed some of my problems of multiple labels with many clipped.
>
>
>
> Thanks for your help,
>
> Worth
>
>
>
>
>
> 
>
> From: Donald Kerr [mailto:donald.k...@dkerr.co.uk]
> Sent: Tuesday, March 19, 2013 3:29 PM
> To: 'Worth Lutz'; mapserver-users@lists.osgeo.org
> Subject: RE: [mapserver-users] LABELS - changing from single map to tiles
> and overlays - HOW?
>
>
>
> Worth,
>
>
>
> I have replaced “TYPE ANNOTATION” with “TYPE POINT” and all is working well.
>
>
>
> As for tiling and labels, I have not found a satisfactory solution at all
> and have accepted that I am getting partial labels or no labels it the label
> starts in another tile - See here:
> https://github.com/mapserver/mapserver/issues/4284
>
>
>
> What I have done is offered an option of “Single Tile” for users so that
> they can switch between tiled and not. The tiled option gives a better
> OpenLayers slippy map experience but the single tile option allows for
> accurate and complete labelling.
>
>
>
> Regards,
>
>
>
> Donald
>
>
>
>
>
>
>
> From: mapserver-users-boun...@lists.osgeo.org
> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Worth Lutz
> Sent: 19 March 2013 14:52
> To: mapserver-users@lists.osgeo.org
> Subject: [mapserver-users] LABELS - changing from single map to tiles and
> overlays - HOW?
>
>
>
> Hi all,
>
>
>
> I’m changing my usage of mapserver from a single map image to using
> OpenLayers and having MapServer work as a WMS server.
>
>
>
> My problem is labels. There seem to be too many variables (in MapServer and
> OpenLayers) and I cannot figure out which to set to keep from having partial
> labels, too many labels or overlapping labels.
>
>
>
> What is the best way to approach labels in a tiled / overlay environment.
>
>
>
> I noticed that in MapServer 6.0 the “annotation” layer type is deprecated.
> What is the method for replacing this?
>
>
>
> In summary, I’m LOST.  Anyone with a map, please point me in the right
> direction. J
>
>
>
> Thanks,
>
> Worth
>
> 
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.2904 / Virus Database: 2641/6188 - Release Date: 03/19/13
>
>
> ___
> 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] LABELS - changing from single map to tiles and overlays - HOW?

2013-03-19 Thread Worth Lutz
Donald,

 

How does the change to "TYPE POINT" work for polygon shapes or do you just
change that to "TYPE POLYGON" and only have a label in the "CLASS" block?

 

I'm still confused on how to manage labels on multiple overlay layers. That
may be a long term project for my application. I was hoping for a simple
solution.

 

I did figure out that putting

PROCESSING "LABEL_NO_CLIP=True" 

in my layer fixed some of my problems of multiple labels with many clipped.

 

Thanks for your help,

Worth

 

 

  _  

From: Donald Kerr [mailto:donald.k...@dkerr.co.uk] 
Sent: Tuesday, March 19, 2013 3:29 PM
To: 'Worth Lutz'; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] LABELS - changing from single map to tiles
and overlays - HOW?

 

Worth,

 

I have replaced "TYPE ANNOTATION" with "TYPE POINT" and all is working well.

 

As for tiling and labels, I have not found a satisfactory solution at all
and have accepted that I am getting partial labels or no labels it the label
starts in another tile - See here:
https://github.com/mapserver/mapserver/issues/4284

 

What I have done is offered an option of "Single Tile" for users so that
they can switch between tiled and not. The tiled option gives a better
OpenLayers slippy map experience but the single tile option allows for
accurate and complete labelling.

 

Regards,

 

Donald

 

 

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Worth Lutz
Sent: 19 March 2013 14:52
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] LABELS - changing from single map to tiles and
overlays - HOW?

 

Hi all,

 

I'm changing my usage of mapserver from a single map image to using
OpenLayers and having MapServer work as a WMS server.

 

My problem is labels. There seem to be too many variables (in MapServer and
OpenLayers) and I cannot figure out which to set to keep from having partial
labels, too many labels or overlapping labels.

 

What is the best way to approach labels in a tiled / overlay environment.

 

I noticed that in MapServer 6.0 the "annotation" layer type is deprecated.
What is the method for replacing this?

 

In summary, I'm LOST.  Anyone with a map, please point me in the right
direction. :-)

 

Thanks,

Worth 

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 2641/6188 - Release Date: 03/19/13

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


Re: [mapserver-users] LABELS - changing from single map to tiles and overlays - HOW?

2013-03-19 Thread Donald Kerr
Worth,

 

I have replaced "TYPE ANNOTATION" with "TYPE POINT" and all is working well.

 

As for tiling and labels, I have not found a satisfactory solution at all
and have accepted that I am getting partial labels or no labels it the label
starts in another tile - See here:
https://github.com/mapserver/mapserver/issues/4284

 

What I have done is offered an option of "Single Tile" for users so that
they can switch between tiled and not. The tiled option gives a better
OpenLayers slippy map experience but the single tile option allows for
accurate and complete labelling.

 

Regards,

 

Donald

 

 

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Worth Lutz
Sent: 19 March 2013 14:52
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] LABELS - changing from single map to tiles and
overlays - HOW?

 

Hi all,

 

I'm changing my usage of mapserver from a single map image to using
OpenLayers and having MapServer work as a WMS server.

 

My problem is labels. There seem to be too many variables (in MapServer and
OpenLayers) and I cannot figure out which to set to keep from having partial
labels, too many labels or overlapping labels.

 

What is the best way to approach labels in a tiled / overlay environment.

 

I noticed that in MapServer 6.0 the "annotation" layer type is deprecated.
What is the method for replacing this?

 

In summary, I'm LOST.  Anyone with a map, please point me in the right
direction. J

 

Thanks,

Worth 

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


Re: [mapserver-users] mapcache returns error 400 bad request

2013-03-19 Thread Icadedt
Stephen,

do you have an explicit example, please?
Does it mean i have to do apache url rewriting?

my mapcache source tag is it correct? :


     
          http://localhost/cgi-bin/mapserv?
     
 
        
            image/png
                dep_point_pop
                /var/www/mapfile/dep_point.map
        
    









 De : Stephen Woodbridge 
À : mapserver-users@lists.osgeo.org 
Envoyé le : Mardi 19 mars 2013 18h34
Objet : Re: [mapserver-users] mapcache returns error 400 bad request
 
The point that Thomas is making is that mapcache understands WMS 
requests NOT mapserver cgi requests

http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256

This does not work because it is not a valid WMS request.

If you go to the demo page for the WMS service, and view source, then 
you can see how to setup a OpenLayers to talk to mapcache.

In FF, if you right click on the map, and select view image, you will 
see what the url for the image or tile looks like.

-Steve W

On 3/19/2013 1:08 PM, Icadedt wrote:
> HI,
>
> http://localhost/mapcache/demo works great, all the links inside work
> great to.
>
> even if i put out "mode=map" , i have the same error 400 'bad request'
>
> you said "make sure your mapserv+mapfile are configured for WMS access",
> how to check this?
>
>
> 
> *De :* thomas bonfort 
> *À :* Icadedt 
> *Cc :* "mapserver-users@lists.osgeo.org" 
> *Envoyé le :* Mardi 19 mars 2013 17h08
> *Objet :* Re: [mapserver-users] mapcache returns error 400 bad request
>
> mapcache doesn't understand any "mode=map" mapserver queries, only WMS.
>
> - make sure your mapserv+mapfile are configured for WMS access.
> - test your mapcache service by going to http://server/mapcache/demo
>
> --
> thomas
>
> On 19 March 2013 16:55, Icadedt  > wrote:
>  > hi ,
>  > when i test this url:
>  >
>  >
> http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
>  >
>  >
>  > i get the error 400 'bad request' ?
>  >
>  >
>  > my layer called 'test' comes from mapcache tileset.
>  >
>  > when i test my url without mapcache it works great:
>  >
> http://localhost/cgi-bin/mapserv?map=/var/www/mapfile/dep_point.map&layers=dep_point_pop&mode=map&map_imagetype=png&mapext=135+0+180+45&imgext=135+0+180+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
>  >
>  >
>  >
>  > Here is my mapcache.xml:
>  > 
>  >
>  > 
>  >
>  > 
>  >    
>  >      /tmp
>  >      
>  > 
>  >
>  >
>  >
>  >
>  > 
>  >      
>  >          http://localhost/cgi-bin/mapserv?
>  >      
>  >      
>  >          
>  >            image/png
>  >            dep_point_pop
>  >            /var/www/mapfile/dep_point.map
>  >          
>  >      
>  >    
>  >
>  >
>  >    
>  > monserv
>  >      disk
>  >      WGS84
>  >      g
>  >      PNG
>  >      5 5
>  >      10
>  >      3600
>  >    
>  >
>  >
>  >    JPEG
>  >
>  >    
>  >      assemble
>  >      bilinear
>  >      JPEG
>  >      4096
>  >   
>  >    
>  >    
>  >    
>  >    
>  >    
>  >    
>  >
>  >    report
>  >    /tmp
>  >
>  > 
>  >
>  >
>  >
>  > this is my getcapabilities :
>  > http://localhost/mapcache?service=wms&request=getcapabilities
>  >
>  > returns:
>  >
>  >  version="1.1.1">OGC:WMSno
>  > title set, add some in metadata  >
> xlink:href="http://localhost/mapcache?"/>application/vnd.ogc.wms_xml  >
> xlink:href="http://localhost/mapcache?"/>image/pngimage/jpeg  >
> xlink:href="http://localhost/mapcache?"/>text/plainapplication/vnd.ogc.gml  >
> xlink:href="http://localhost/mapcache?"/>text/plainEPSG:4326  > SRS="EPSG:4326" minx="-180.00" miny="-90.00" maxx="180.00"
>  > maxy="90.00"/>0.70312500
> 0.35156250
>  > 0.17578125 0.087890625000 0.043945312500
>  > 0.021972656250 0.010986328125 0.0054931640625000
>  > 0.0027465820312500 0.0013732910156250 0.0006866455078125
>  > 0.00034332275390625000 0.00017166137695312500 0.8583068847656250
>  > 0.4291534423828120 0.2145767211914060 0.1072883605957030
>  > 0.0536441802978516
>  >
> 256256image/pngtestrootlayerno
>  > title set, add some in
>  >
> metadataEPSG:900913EPSG:4326EPSG:3857  > cascaded="1" queryable="0">test  > minx="-180.00" miny="-90.00" maxx="180.00"
>  > maxy="90.00"/>  > miny="-90.00" maxx="180.00"
>  > maxy="90.00"/>EPSG:4326  > minx="-20037508.342789" miny="-20037508.342789" maxx="20037508.342789"
>  >
> maxy="20037508.342789"/>EPSG:900913EPSG:3857
>  >
>  >
>  >
>  >
>  > Thanks in advance
>  >
>  > ___
>  > mapserver-users maili

Re: [mapserver-users] How to prepare a MapServer WMS?

2013-03-19 Thread Stephen Woodbridge

On 3/19/2013 1:47 PM, Marco Araujo wrote:

Hello everyone,

Can anyone guide me to build a MapServer WMS?
As I do, scripts, etc..

Already have successfully running MapServer CGI.

Sincerely,


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


Re: [mapserver-users] How to prepare a MapServer WMS?

2013-03-19 Thread Kralidis,Tom [Ontario]
Note you can also check out the MapServer OGC Web Services workshop
(http://mapserver.github.com/ms-ogc-workshop/).

..Tom


> -Original Message-
> From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-
> boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka
> Sent: Tuesday, March 19, 2013 13:50
> To: OSGeo - EUA
> Subject: Re: [mapserver-users] How to prepare a MapServer WMS?
> 
> Hi,
> 
> It is quite well documented here
> http://mapserver.org/ogc/wms_server.html
> 
> -Jukka Rahkonen-
> 
>  Marco Araujo wrote:
> 
> > Hello everyone,
> 
> > Can anyone guide me to build a MapServer WMS?
> > As I do, scripts, etc..
> 
> > Already have successfully running MapServer CGI.
> 
> > Sincerely,
> ___
> 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] mapcache returns error 400 bad request (Icadedt)

2013-03-19 Thread Mark Volz
What client and server are you using?  I had trouble with ArcGIS products 
accessing the Mapcache that is packaged with MS4W Archive v3.0.4-dev, however 
QGIS, Openlayers, and other software could access Mapcache.


Mark Volz
GIS Specialist


> Message: 1
> Date: Tue, 19 Mar 2013 17:08:02 +0100
> From: thomas bonfort 
> To: Icadedt 
> Cc: "mapserver-users@lists.osgeo.org"
>   
> Subject: Re: [mapserver-users] mapcache returns error 400 bad request
> Message-ID:
>ail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> mapcache doesn't understand any "mode=map" mapserver queries, only
> WMS.
> 
> - make sure your mapserv+mapfile are configured for WMS access.
> - test your mapcache service by going to http://server/mapcache/demo
> 
> --
> thomas
> 
> On 19 March 2013 16:55, Icadedt  wrote:
> > hi ,
> > when i test this url:
> >
> >
> http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=Get
> Map&lay
> > ers=test&mode=map&map_imagetype=png&mapext=-135+0+-
> 90+45&imgext=-135+0
> > +-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
> >
> >
> > i get the error 400 'bad request' ?
> >
> >
> > my layer called 'test' comes from mapcache tileset.
> >
> > when i test my url without mapcache it works great:
> > http://localhost/cgi-
> bin/mapserv?map=/var/www/mapfile/dep_point.map&la
> >
> yers=dep_point_pop&mode=map&map_imagetype=png&mapext=135+0+1
> 80+45&imge
> >
> xt=135+0+180+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+25
> 6
> >
> >
> >
> > Here is my mapcache.xml:
> > 
> >
> > 
> >
> > 
> >
> >   /tmp
> >   
> >
> >
> >
> >
> >
> > 
> >   
> >  http://localhost/cgi-bin/mapserv?
> >   
> >   
> >  
> > image/png
> > dep_point_pop
> > /var/www/mapfile/dep_point.map
> >  
> >   
> >
> >
> >
> >
> >   monserv
> >   disk
> >   WGS84
> >   g
> >   PNG
> >   5 5
> >   10
> >   3600
> >
> >
> >
> >JPEG
> >
> >
> >   assemble
> >   bilinear
> >   JPEG
> >   4096
> >
> >
> >
> >
> >
> >
> >
> >
> >report
> >/tmp
> >
> > 
> >
> >
> >
> > this is my getcapabilities :
> > http://localhost/mapcache?service=wms&request=getcapabilities
> >
> > returns:
> >
> >  > version="1.1.1">OGC:WMSno
> > title set, add some in metadata > xlink:href="http://localhost/mapcache?"/> >
> t>application/vnd.ogc.wms_xml yp
> > e> >
> xlink:href="http://localhost/mapcache?"/> tC
> >
> apabilities>image/pngimage/jpeg<
> /Form
> > at> >
> xlink:href="http://localhost/mapcache?"/> tM
> >
> ap>text/plainapplication/vn
> d.
> > ogc.gml >
> xlink:href="http://localhost/mapcache?"/> tF
> >
> eatureInfo>text/plain io
> >
> ns>EPSG:4326 B
> > ox SRS="EPSG:4326" minx="-180.00" miny="-90.00"
> > maxx="180.00"
> > maxy="90.00"/>0.70312500
> > 0.35156250
> > 0.17578125 0.087890625000 0.043945312500
> > 0.021972656250 0.010986328125 0.0054931640625000
> > 0.0027465820312500 0.0013732910156250 0.0006866455078125
> > 0.00034332275390625000 0.00017166137695312500 0.8583068847656250
> > 0.4291534423828120 0.2145767211914060 0.1072883605957030
> > 0.0536441802978516
> >
> 256256image/
> png<
> >
> /Format>test > lities>rootlayerno
> > title set, add some in
> >
> metadataEPSG:900913EPSG:4326EP
> SG:38
> > 57 > queryable="0">test > minx="-180.00" miny="-90.00" maxx="180.00"
> > maxy="90.00"/> > miny="-90.00" maxx="180.00"
> > maxy="90.00"/>EPSG:4326 SRS="EPSG:900913"
> > minx="-20037508.342789" miny="-20037508.342789"
> maxx="20037508.342789"
> >
> maxy="20037508.342789"/>EPSG:900913EPSG:3857 > > yer>
> >
> >
> >
> >
> > Thanks in advance
> >
> > ___
> > 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] How to prepare a MapServer WMS?

2013-03-19 Thread Rahkonen Jukka
Hi,

It is quite well documented here http://mapserver.org/ogc/wms_server.html

-Jukka Rahkonen-

 Marco Araujo wrote:

> Hello everyone,

> Can anyone guide me to build a MapServer WMS?
> As I do, scripts, etc..

> Already have successfully running MapServer CGI.

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


[mapserver-users] How to prepare a MapServer WMS?

2013-03-19 Thread Marco Araujo

Hello everyone,
Can anyone guide me to build a MapServer WMS?As I do, scripts, etc..
Already have successfully running MapServer CGI.
Sincerely,___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapcache returns error 400 bad request

2013-03-19 Thread Stephen Woodbridge
The point that Thomas is making is that mapcache understands WMS 
requests NOT mapserver cgi requests


http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256

This does not work because it is not a valid WMS request.

If you go to the demo page for the WMS service, and view source, then 
you can see how to setup a OpenLayers to talk to mapcache.


In FF, if you right click on the map, and select view image, you will 
see what the url for the image or tile looks like.


-Steve W

On 3/19/2013 1:08 PM, Icadedt wrote:

HI,

http://localhost/mapcache/demo works great, all the links inside work
great to.

even if i put out "mode=map" , i have the same error 400 'bad request'

you said "make sure your mapserv+mapfile are configured for WMS access",
how to check this?



*De :* thomas bonfort 
*À :* Icadedt 
*Cc :* "mapserver-users@lists.osgeo.org" 
*Envoyé le :* Mardi 19 mars 2013 17h08
*Objet :* Re: [mapserver-users] mapcache returns error 400 bad request

mapcache doesn't understand any "mode=map" mapserver queries, only WMS.

- make sure your mapserv+mapfile are configured for WMS access.
- test your mapcache service by going to http://server/mapcache/demo

--
thomas

On 19 March 2013 16:55, Icadedt mailto:icad...@yahoo.fr>> wrote:
 > hi ,
 > when i test this url:
 >
 >
http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
 >
 >
 > i get the error 400 'bad request' ?
 >
 >
 > my layer called 'test' comes from mapcache tileset.
 >
 > when i test my url without mapcache it works great:
 >
http://localhost/cgi-bin/mapserv?map=/var/www/mapfile/dep_point.map&layers=dep_point_pop&mode=map&map_imagetype=png&mapext=135+0+180+45&imgext=135+0+180+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
 >
 >
 >
 > Here is my mapcache.xml:
 > 
 >
 > 
 >
 > 
 >
 >  /tmp
 >  
 > 
 >
 >
 >
 >
 > 
 >  
 >  http://localhost/cgi-bin/mapserv?
 >  
 >  
 >  
 >image/png
 >dep_point_pop
 >/var/www/mapfile/dep_point.map
 >  
 >  
 >
 >
 >
 >
 > monserv
 >  disk
 >  WGS84
 >  g
 >  PNG
 >  5 5
 >  10
 >  3600
 >
 >
 >
 >JPEG
 >
 >
 >  assemble
 >  bilinear
 >  JPEG
 >  4096
 >   
 >
 >
 >
 >
 >
 >
 >
 >report
 >/tmp
 >
 > 
 >
 >
 >
 > this is my getcapabilities :
 > http://localhost/mapcache?service=wms&request=getcapabilities
 >
 > returns:
 >
 > OGC:WMSno
 > title set, add some in metadata
xlink:href="http://localhost/mapcache?"/>application/vnd.ogc.wms_xml
xlink:href="http://localhost/mapcache?"/>image/pngimage/jpeg
xlink:href="http://localhost/mapcache?"/>text/plainapplication/vnd.ogc.gml
xlink:href="http://localhost/mapcache?"/>text/plainEPSG:4326 SRS="EPSG:4326" minx="-180.00" miny="-90.00" maxx="180.00"
 > maxy="90.00"/>0.70312500
0.35156250
 > 0.17578125 0.087890625000 0.043945312500
 > 0.021972656250 0.010986328125 0.0054931640625000
 > 0.0027465820312500 0.0013732910156250 0.0006866455078125
 > 0.00034332275390625000 0.00017166137695312500 0.8583068847656250
 > 0.4291534423828120 0.2145767211914060 0.1072883605957030
 > 0.0536441802978516
 >
256256image/pngtestrootlayerno
 > title set, add some in
 >
metadataEPSG:900913EPSG:4326EPSG:3857 cascaded="1" queryable="0">test minx="-180.00" miny="-90.00" maxx="180.00"
 > maxy="90.00"/> miny="-90.00" maxx="180.00"
 > maxy="90.00"/>EPSG:4326 minx="-20037508.342789" miny="-20037508.342789" maxx="20037508.342789"
 >
maxy="20037508.342789"/>EPSG:900913EPSG:3857
 >
 >
 >
 >
 > Thanks in advance
 >
 > ___
 > 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


Re: [mapserver-users] mapcache returns error 400 bad request

2013-03-19 Thread Icadedt
HI,

http://localhost/mapcache/demo works great, all the links inside work great to.

even if i put out "mode=map" , i have the same error 400 'bad request'

you said "make sure your mapserv+mapfile are configured for WMS access", how to 
check this?






 De : thomas bonfort 
À : Icadedt  
Cc : "mapserver-users@lists.osgeo.org"  
Envoyé le : Mardi 19 mars 2013 17h08
Objet : Re: [mapserver-users] mapcache returns error 400 bad request
 
mapcache doesn't understand any "mode=map" mapserver queries, only WMS.

- make sure your mapserv+mapfile are configured for WMS access.
- test your mapcache service by going to http://server/mapcache/demo

--
thomas

On 19 March 2013 16:55, Icadedt  wrote:
> hi ,
> when i test this url:
>
> http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
>
>
> i get the error 400 'bad request' ?
>
>
> my layer called 'test' comes from mapcache tileset.
>
> when i test my url without mapcache it works great:
> http://localhost/cgi-bin/mapserv?map=/var/www/mapfile/dep_point.map&layers=dep_point_pop&mode=map&map_imagetype=png&mapext=135+0+180+45&imgext=135+0+180+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
>
>
>
> Here is my mapcache.xml:
> 
>
> 
>
> 
>    
>       /tmp
>       
>    
>
>
>
>
> 
>       
>          http://localhost/cgi-bin/mapserv?
>       
>       
>          
>             image/png
>             dep_point_pop
>             /var/www/mapfile/dep_point.map
>          
>       
>    
>
>
>    
>       monserv
>       disk
>       WGS84
>       g
>       PNG
>       5 5
>       10
>       3600
>    
>
>
>    JPEG
>
>    
>       assemble
>       bilinear
>       JPEG
>       4096
>    
>    
>    
>    
>    
>    
>    
>
>    report
>    /tmp
>
> 
>
>
>
> this is my getcapabilities :
> http://localhost/mapcache?service=wms&request=getcapabilities
>
> returns:
>
> OGC:WMSno
> title set, add some in metadata xlink:href="http://localhost/mapcache?"/>application/vnd.ogc.wms_xml xlink:href="http://localhost/mapcache?"/>image/pngimage/jpeg xlink:href="http://localhost/mapcache?"/>text/plainapplication/vnd.ogc.gml xlink:href="http://localhost/mapcache?"/>text/plainEPSG:4326 SRS="EPSG:4326" minx="-180.00" miny="-90.00" maxx="180.00"
> maxy="90.00"/>0.70312500 0.35156250
> 0.17578125 0.087890625000 0.043945312500
> 0.021972656250 0.010986328125 0.0054931640625000
> 0.0027465820312500 0.0013732910156250 0.0006866455078125
> 0.00034332275390625000 0.00017166137695312500 0.8583068847656250
> 0.4291534423828120 0.2145767211914060 0.1072883605957030
> 0.0536441802978516
> 256256image/pngtestrootlayerno
> title set, add some in
> metadataEPSG:900913EPSG:4326EPSG:3857 cascaded="1" queryable="0">test minx="-180.00" miny="-90.00" maxx="180.00"
> maxy="90.00"/> miny="-90.00" maxx="180.00"
> maxy="90.00"/>EPSG:4326 minx="-20037508.342789" miny="-20037508.342789" maxx="20037508.342789"
> maxy="20037508.342789"/>EPSG:900913EPSG:3857
>
>
>
>
> Thanks in advance
>
> ___
> 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] mapcache returns error 400 bad request

2013-03-19 Thread thomas bonfort
mapcache doesn't understand any "mode=map" mapserver queries, only WMS.

- make sure your mapserv+mapfile are configured for WMS access.
- test your mapcache service by going to http://server/mapcache/demo

--
thomas

On 19 March 2013 16:55, Icadedt  wrote:
> hi ,
> when i test this url:
>
> http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
>
>
> i get the error 400 'bad request' ?
>
>
> my layer called 'test' comes from mapcache tileset.
>
> when i test my url without mapcache it works great:
> http://localhost/cgi-bin/mapserv?map=/var/www/mapfile/dep_point.map&layers=dep_point_pop&mode=map&map_imagetype=png&mapext=135+0+180+45&imgext=135+0+180+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
>
>
>
> Here is my mapcache.xml:
> 
>
> 
>
> 
>
>   /tmp
>   
>
>
>
>
>
> 
>   
>  http://localhost/cgi-bin/mapserv?
>   
>   
>  
> image/png
> dep_point_pop
> /var/www/mapfile/dep_point.map
>  
>   
>
>
>
>
>   monserv
>   disk
>   WGS84
>   g
>   PNG
>   5 5
>   10
>   3600
>
>
>
>JPEG
>
>
>   assemble
>   bilinear
>   JPEG
>   4096
>
>
>
>
>
>
>
>
>report
>/tmp
>
> 
>
>
>
> this is my getcapabilities :
> http://localhost/mapcache?service=wms&request=getcapabilities
>
> returns:
>
> OGC:WMSno
> title set, add some in metadata xlink:href="http://localhost/mapcache?"/>application/vnd.ogc.wms_xml xlink:href="http://localhost/mapcache?"/>image/pngimage/jpeg xlink:href="http://localhost/mapcache?"/>text/plainapplication/vnd.ogc.gml xlink:href="http://localhost/mapcache?"/>text/plainEPSG:4326 SRS="EPSG:4326" minx="-180.00" miny="-90.00" maxx="180.00"
> maxy="90.00"/>0.70312500 0.35156250
> 0.17578125 0.087890625000 0.043945312500
> 0.021972656250 0.010986328125 0.0054931640625000
> 0.0027465820312500 0.0013732910156250 0.0006866455078125
> 0.00034332275390625000 0.00017166137695312500 0.8583068847656250
> 0.4291534423828120 0.2145767211914060 0.1072883605957030
> 0.0536441802978516
> 256256image/pngtestrootlayerno
> title set, add some in
> metadataEPSG:900913EPSG:4326EPSG:3857 cascaded="1" queryable="0">test minx="-180.00" miny="-90.00" maxx="180.00"
> maxy="90.00"/> miny="-90.00" maxx="180.00"
> maxy="90.00"/>EPSG:4326 minx="-20037508.342789" miny="-20037508.342789" maxx="20037508.342789"
> maxy="20037508.342789"/>EPSG:900913EPSG:3857
>
>
>
>
> Thanks in advance
>
> ___
> 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] mapcache returns error 400 bad request

2013-03-19 Thread Icadedt
hi ,
when i test this url:

http://localhost/mapcache?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=test&mode=map&map_imagetype=png&mapext=-135+0+-90+45&imgext=-135+0+-90+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256


i get the error 400 'bad request' ?


my layer called 'test' comes from mapcache tileset.

when i test my url without mapcache it works great:
http://localhost/cgi-bin/mapserv?map=/var/www/mapfile/dep_point.map&layers=dep_point_pop&mode=map&map_imagetype=png&mapext=135+0+180+45&imgext=135+0+180+45&map_size=256+256&imgx=128&imgy=128&imgxy=256+256




Here is my mapcache.xml:





   
  /tmp
  
   

  
 


  
 http://localhost/cgi-bin/mapserv?
  
  
 
    image/png
    dep_point_pop
    /var/www/mapfile/dep_point.map
 
  
   
 
   
   
  monserv
  disk
  WGS84
  g
  PNG
  5 5
  10
  3600
   


   JPEG

   
  assemble
  bilinear
  JPEG
  4096
   
   
   
   
   
   
   
 
   report
   /tmp






this is my getcapabilities :
http://localhost/mapcache?service=wms&request=getcapabilities

returns:

OGC:WMSno 
title set, add some in metadatahttp://localhost/mapcache?"/>application/vnd.ogc.wms_xmlhttp://localhost/mapcache?"/>image/pngimage/jpeghttp://localhost/mapcache?"/>text/plainapplication/vnd.ogc.gmlhttp://localhost/mapcache?"/>text/plainEPSG:43260.70312500 0.35156250 
0.17578125 0.087890625000 0.043945312500 
0.021972656250 0.010986328125 0.0054931640625000 
0.0027465820312500 0.0013732910156250 0.0006866455078125 
0.00034332275390625000 0.00017166137695312500 0.8583068847656250 
0.4291534423828120 0.2145767211914060 0.1072883605957030 
0.0536441802978516 
256256image/pngtestrootlayerno
 title set, add some in 
metadataEPSG:900913EPSG:4326EPSG:3857testEPSG:4326EPSG:900913EPSG:3857




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


[mapserver-users] LABELS - changing from single map to tiles and overlays - HOW?

2013-03-19 Thread Worth Lutz
Hi all,

 

I'm changing my usage of mapserver from a single map image to using
OpenLayers and having MapServer work as a WMS server.

 

My problem is labels. There seem to be too many variables (in MapServer and
OpenLayers) and I cannot figure out which to set to keep from having partial
labels, too many labels or overlapping labels.

 

What is the best way to approach labels in a tiled / overlay environment.

 

I noticed that in MapServer 6.0 the "annotation" layer type is deprecated.
What is the method for replacing this?

 

In summary, I'm LOST.  Anyone with a map, please point me in the right
direction. :-)

 

Thanks,

Worth 

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


Re: [mapserver-users] label issues...

2013-03-19 Thread Worth Lutz
You seem to be missing:

 

  LABELITEM  

 

This tells what data to use for the label.

 

See below for location.

 

Also see other responses about color.

 

Worth

 

  _  

From: Mark Mirrlees [mailto:mmirrl...@hotmail.com] 
Sent: Monday, March 18, 2013 5:31 PM
To: w...@mindspring.com; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] label issues...

 

Hi there, 

Ok so I have revised the mapfile to this...

 

  LAYER
NAME 'mjcities'
TYPE POINT
DUMP false
  EXTENT -143.210462 39.001401 -50.461045 85.911094
DATA '../data/mjcities.shp'
METADATA
  'ows_title' 'mjcities'
END
STATUS default
 MAXSCALEDENOM 100
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'datum=WGS84'
'no_defs'
END

   LABELITEM 

CLASS
NAME 'mjcities' 
   STYLE
 SYMBOL "circle" 
 SIZE 15.0 
 OUTLINECOLOR 0 0 0
 COLOR 182 109 194
   END
   LABEL 
   COLOR 255 255 255
   FONT "arial"
   TYPE truetype
   SIZE 10
   ANGLE 0
   POSITION cc
   FORCE false
   PARTIALS false
   END

 

But when I zoom into my layers I see the symbols that were created but the
labels still don't show up...any suggestions?

 

Thanks for the help everyone as I do appreciate it!

Mark

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 2641/6185 - Release Date: 03/17/13

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