Re: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

2013-06-11 Thread Weisbender, Eric
Success!  Thanks again for all your help.  One last thing, do you suggest any 
of the other SDE Layer parameters that would improve the speed/performance.

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 3:01 PM
To: Weisbender, Eric
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Patch goes into your source directory and I believe you just do something like:

  patch <4531.diff

Or you can just edit mapsde.c by hand based on the patch- it's straight 
forward. Then just recompile.

Steve

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 3:58 PM
To: Lime, Steve D (MNIT)
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

I just now realized that.  Where do I put the patch and how do I compile 
against it?

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 2:00 PM
To: Weisbender, Eric
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Looks like you still have a 64/32-bit type error. Did you apply the patch I 
supplied last week?

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 2:53 PM
To: Lime, Steve D (MNIT); 
mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Hello,

I recompiled MapServer / SDE setting CFLAGS='-DSDE64'.  I am now getting the 
following error when I try to draw the SDE Layer.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
sdeCopyShape(): SDE error. Unsupported SDE shape type (140733193388036).

This is my SDE Layer Definition.  Any help would be greatly appreciated.

LAYER
  NAME "sde"
  TYPE LINE
  STATUS OFF
  CONNECTION "JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#"
  CONNECTIONTYPE SDE
  DATA "RMR.MNT_SPANS,SHAPE,SDE.DEFAULT"
  TEMPLATE "/data/gis/www/html/ms_common/tlines.html"
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 07, 2013 1:46 PM
To: Weisbender, Eric; 
mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Ah, I ran into this to as well, see ticket 
https://github.com/mapserver/mapserver/issues/4521. I've attached a diff that 
made things work well for me. Once a fix is put in place for 6.4 (git master) 
we can backport to 6.2.

Steve

From: 
mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, June 07, 2013 2:26 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

Hello,

We have successfully compiled MapServer 6.2.1 with ArcSDE10 and can see the SDE 
server ok.  When I try to draw a line layer I get the following error.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
msSDELayerWhichShapes(): SDE error. getSDEQueryInfo(): Success. (0 
getSDEQueryInfo(): SDE error. SE_queryinfo_set_columns(): Invalid parameter 
value passed to function. (4294967230)

The layer definition looks like this and all of the parameters look good.

LAYER
  NAME "sde"
  TYPE LINE
  STATUS OFF
  CONNECTIONTYPE SDE
  CONNECTION "JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#"
  DATA "RMR.MNT_SPANS,SHAPE,SDE.DEFAULT"
  TEMPLATE "/data/gis/www/html/ms_common/tlines.html"
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

If anyone has an idea of what I am missing or doing wrong 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


Re: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

2013-06-11 Thread Lime, Steve D (MNIT)
I've not done much tuning on my setup. I use SDE only when necessary and live 
with the performance issues. Tuning on the database itself is the best place to 
try and improve things. You might ping the list on this one, more folks use SDE 
in general than on 64-bit Linux.

Steve

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Tuesday, June 11, 2013 9:55 AM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Success!  Thanks again for all your help.  One last thing, do you suggest any 
of the other SDE Layer parameters that would improve the speed/performance.

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 3:01 PM
To: Weisbender, Eric
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Patch goes into your source directory and I believe you just do something like:

  patch <4531.diff

Or you can just edit mapsde.c by hand based on the patch- it's straight 
forward. Then just recompile.

Steve

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 3:58 PM
To: Lime, Steve D (MNIT)
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

I just now realized that.  Where do I put the patch and how do I compile 
against it?

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 2:00 PM
To: Weisbender, Eric
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Looks like you still have a 64/32-bit type error. Did you apply the patch I 
supplied last week?

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 2:53 PM
To: Lime, Steve D (MNIT); 
mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Hello,

I recompiled MapServer / SDE setting CFLAGS='-DSDE64'.  I am now getting the 
following error when I try to draw the SDE Layer.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
sdeCopyShape(): SDE error. Unsupported SDE shape type (140733193388036).

This is my SDE Layer Definition.  Any help would be greatly appreciated.

LAYER
  NAME "sde"
  TYPE LINE
  STATUS OFF
  CONNECTION "JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#"
  CONNECTIONTYPE SDE
  DATA "RMR.MNT_SPANS,SHAPE,SDE.DEFAULT"
  TEMPLATE "/data/gis/www/html/ms_common/tlines.html"
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 07, 2013 1:46 PM
To: Weisbender, Eric; 
mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Ah, I ran into this to as well, see ticket 
https://github.com/mapserver/mapserver/issues/4521. I've attached a diff that 
made things work well for me. Once a fix is put in place for 6.4 (git master) 
we can backport to 6.2.

Steve

From: 
mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, June 07, 2013 2:26 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

Hello,

We have successfully compiled MapServer 6.2.1 with ArcSDE10 and can see the SDE 
server ok.  When I try to draw a line layer I get the following error.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
msSDELayerWhichShapes(): SDE error. getSDEQueryInfo(): Success. (0 
getSDEQueryInfo(): SDE error. SE_queryinfo_set_columns(): Invalid parameter 
value passed to function. (4294967230)

The layer definition looks like this and all of the parameters look good.

LAYER
  NAME "sde"
  TYPE LINE
  STATUS OFF
  CONNECTIONTYPE SDE
  CONNECTION "JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#"
  DATA "RMR.MNT_SPANS,SHAPE,SDE.DEFAULT"
  TEMPLATE "/data/gis/www/html/ms_common/tlines.html"
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

If anyone has an idea of what I am missing or doing wrong 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


Re: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

2013-06-11 Thread Weisbender, Eric
We'll do.  Thanks again.

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 11, 2013 9:07 AM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

I've not done much tuning on my setup. I use SDE only when necessary and live 
with the performance issues. Tuning on the database itself is the best place to 
try and improve things. You might ping the list on this one, more folks use SDE 
in general than on 64-bit Linux.

Steve

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Tuesday, June 11, 2013 9:55 AM
To: Lime, Steve D (MNIT); 
mapserver-users@lists.osgeo.org
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Success!  Thanks again for all your help.  One last thing, do you suggest any 
of the other SDE Layer parameters that would improve the speed/performance.

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 3:01 PM
To: Weisbender, Eric
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Patch goes into your source directory and I believe you just do something like:

  patch <4531.diff

Or you can just edit mapsde.c by hand based on the patch- it's straight 
forward. Then just recompile.

Steve

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 3:58 PM
To: Lime, Steve D (MNIT)
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

I just now realized that.  Where do I put the patch and how do I compile 
against it?

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 2:00 PM
To: Weisbender, Eric
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Looks like you still have a 64/32-bit type error. Did you apply the patch I 
supplied last week?

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 2:53 PM
To: Lime, Steve D (MNIT); 
mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Hello,

I recompiled MapServer / SDE setting CFLAGS='-DSDE64'.  I am now getting the 
following error when I try to draw the SDE Layer.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
sdeCopyShape(): SDE error. Unsupported SDE shape type (140733193388036).

This is my SDE Layer Definition.  Any help would be greatly appreciated.

LAYER
  NAME "sde"
  TYPE LINE
  STATUS OFF
  CONNECTION "JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#"
  CONNECTIONTYPE SDE
  DATA "RMR.MNT_SPANS,SHAPE,SDE.DEFAULT"
  TEMPLATE "/data/gis/www/html/ms_common/tlines.html"
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 07, 2013 1:46 PM
To: Weisbender, Eric; 
mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Ah, I ran into this to as well, see ticket 
https://github.com/mapserver/mapserver/issues/4521. I've attached a diff that 
made things work well for me. Once a fix is put in place for 6.4 (git master) 
we can backport to 6.2.

Steve

From: 
mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, June 07, 2013 2:26 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

Hello,

We have successfully compiled MapServer 6.2.1 with ArcSDE10 and can see the SDE 
server ok.  When I try to draw a line layer I get the following error.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
msSDELayerWhichShapes(): SDE error. getSDEQueryInfo(): Success. (0 
getSDEQueryInfo(): SDE error. SE_queryinfo_set_columns(): Invalid parameter 
value passed to function. (4294967230)

The layer definition looks like this and all of the parameters look good.

LAYER
  NAME "sde"
  TYPE LINE
  STATUS OFF
  CONNECTIONTYPE SDE
  CONNECTION "JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#"
  DATA "RMR.MNT_SPANS,SHAPE,SDE.DEFAULT"
  TEMPLATE "/data/gis/www/html/ms_common/tlines.html"
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
  

[mapserver-users] Misusing default TIME values in WMS?

2013-06-11 Thread John D. Evans

Hi all,

My MapServer WMS service seems to be misusing the default times I have 
defined on map layers. It (correctly) uses the default time for GetMap 
requests that specify no time at all; however it (incorrectly) uses this 
time also for requests that specify a time outside the layer's available 
times. (For, say, time=2017-09-21, it returns today's image... which is 
very confusing.)


The WMS Capabilities doc shows  
which is what I want -- but it doesn't match the above behavior. Excerpt:



  iicmocp_time_idx
  Time Index for iicmocp
  EPSG:4326


  iicmocp_daily
  csppnppviirssdr iicmocp daily
  Some important description here...
  EPSG:4326
  
  2013-06-09/2013-06-11T09:16/P1D


Is this a bug in mapserv? Or have I just misconfigured my time index? 
(Mapfile excerpts below.)


Thanks.

  - John Evans


p.s. My mapfile has the following details for these layers:

  LAYER
NAME "iicmocp_daily"
TYPE RASTER
STATUS off
OFFSITE 0 0 0
TRANSPARENCY 80
TILEINDEX "iicmocp_time_idx"
TILEITEM "tiffpath"
METADATA
  "wms_srs" "EPSG:4326"
  "wms_title" "csppnppviirssdr iicmocp daily"
  "wms_layer_group" "/csppnppviirssdr iicmocp imagery"
  "wms_abstract" "Some important description here..."
  "wms_timeextent" "2013-06-09/2013-06-11T09:16/P1D"
  "wms_timedefault" "2013-06-11"
  "wms_timeitem" "filedate"
  "wms_timeformat" "-MM-DD,-MM-DDTHH,-MM-DDTHH:MM"
END
  END

  LAYER
NAME "iicmocp_time_idx"
TYPE POLYGON
DATA  "geom from iicmocp"
METADATA
  "wms_title" "Time Index for iicmocp"
  "wms_srs" "EPSG:4326"
END
CONNECTIONTYPE POSTGIS
CONNECTION "host=localhost port=5432 dbname=mapdemo ..."
  END

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


[mapserver-users] Help with configuring WMS

2013-06-11 Thread Todd Fagin
Greetings,

 

I have what I hope is a simple issue.

 

I have a working mapfile in which I have setup WMS.  When I test with
GetCapabilities, everything seems to return fine (mostly, see below).
However, when I test with GetMap, I just get a blank image (set to the
background color I have in the map file).

 

One odd thing, though, with the GetCapabilities results is that the bounding
box coordinates reverse the X and Y:



 

However, the GeographicBoundingBox is correct:

   

-103.002

-94.4307

33.6158

37.0023



 

I am running this on my local machine so I am attaching the sample mapfile
and the GetCapabilities results, and including the GetMap example I am using
which is returning the blank image.

 

Example:

GetMap

 

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_Counties.map

&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=Counties&CRS=EPSG:4326&BBOX
=-103.002,33.6158,-94.4307,37.0023&WIDTH=800&HEIGHT=300&FORMAT=image/png&STY
LES=&TRANSPARENT=TRUE

 

GetCapabilities

 

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map

&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities

 

 

Any help would be greatly appreciated. Thanks in advance,

 

Todd

 

 

Todd Fagin

Coordinate Solutions, Inc.

405.740.4324

 

#
# Start of map file
#
MAP
DATAPATTERN "the_geom"

NAME OK
STATUS ON
SIZE 500 400
#EXTENT -103.0898 31.51149 -94.3205 39.1066 #DD OK
EXTENT -104.18599 30.5621 -93.22438 40.055993 #DD OK
UNITS DD
SHAPEPATH "G:\data\OK"
FONTSET fonts.list
#IMAGECOLOR 255 255 255
IMAGECOLOR 218 227 240
SYMBOLSET "symbolset.list"

IMAGETYPE png24
OUTPUTFORMAT
   NAME png
   DRIVER "GD/PNG"
   MIMETYPE "image/png"
   IMAGEMODE RGBA
   EXTENSION "png"
#TRANSPARENT ON
END


PROJECTION #GEOGRAPHIC WGS84
proj=longlat
ellps=WGS84
datum=WGS84 
no_defs 
END

 WEB
#IMAGEPATH "C:\Develop\WEBGIS\output\"
#IMAGEURL "/webgis/output/"
METADATA
WMS_TITLE "OK Counties WMS"
WMS_ABSTRACT "I am just trying to get this to work"
WMS_ACCESSCONSTRAINTS "none"
WMS_ONLINERESOURCE 
"http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map&";
WMS_SRS "EPSG:4326"
WMS_ENABLE_REQUEST "GetMap GetFeatureInfo"
END

END

LEGEND
STATUS ON
KEYSIZE 18 12
TRANSPARENT OFF
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
END

##
### LAYERS ###
##



### COUNTIES ###
LAYER 
NAME Counties
#GROUP "Administrative Boundary"
TYPE POLYGON
STATUS DEFAULT
DATA OKCounties
PROJECTION #GEOGRAPHIC NAD83
proj=longlat
ellps=GRS80 
no_defs 
END
METADATA
id "20"
'ows_title' 'Counties'
"ows_enable_request" "GetCapabilities"
WMS_SRS "EPSG:4326"
#WMS_ENABLE_REQUEST "GetMap GetFeatureInfo" 

END
LABELITEM "NAME"
CLASS
MAXSCALE 800
MINSCALE 300
COLOR 247 239 222
OUTLINECOLOR 173 158 140
END
CLASS
MAXSCALE 300
MINSCALE 847000
COLOR 247 239 222
OUTLINECOLOR 173 158 140
LABEL
TYPE TRUETYPE
COLOR 132 130 0
FONT arial-bold
SIZE 7
POSITION cc
PARTIALS FALSE
BUFFER 0
END 
END
CLASS
MAXSCALE 847000
MINSCALE 45700
COLOR 247 239 222

Re: [mapserver-users] Help with configuring WMS

2013-06-11 Thread John D. Evans

Hi Todd,

What happens when you make one of the following changes (but not both) 
to your GetMap request?


EITHER change
...&VERSION=1.3.0...
to
...&VERSION=1.1.1...

OR change
...&BBOX=-103.002,33.6158,-94.4307,37.0023...
to
...&BBOX=33.6158,-103.002,37.0023,-94.4307...

(EPSG:4326 was defined as lon-lat in WMS pre-1.3; but in 1.3 it's lat-lon)

  - John Evans


On 06/11/2013 12:51 PM, Todd Fagin wrote:


Greetings,

I have what I hope is a simple issue.

I have a working mapfile in which I have setup WMS.  When I test with 
GetCapabilities, everything seems to return fine (mostly, see below).  
However, when I test with GetMap, I just get a blank image (set to the 
background color I have in the map file).


One odd thing, though, with the GetCapabilities results is that the 
bounding box coordinates reverse the X and Y:




However, the GeographicBoundingBox is correct:

   

-103.002

-94.4307

33.6158

37.0023



I am running this on my local machine so I am attaching the sample 
mapfile and the GetCapabilities results, and including the GetMap 
example I am using which is returning the blank image.


Example:

GetMap

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_Counties.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=Counties&CRS=EPSG:4326&BBOX=-103.002,33.6158,-94.4307,37.0023&WIDTH=800&HEIGHT=300&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE

GetCapabilities

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities

Any help would be greatly appreciated. Thanks in advance,

Todd

Todd Fagin

Coordinate Solutions, Inc.

405.740.4324



Spam 
Not spam 

Forget previous vote 




___
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] Help with configuring WMS

2013-06-11 Thread Rahkonen Jukka
Hi,

If you use WMS 1.3.0 you must use Nothing-Easting axis order with EPSG:4326.  
Stay with WMS 1.1.1 of flip the coordinates in your request. Search "WMS 1.3.0 
axis order" and you will find reading for the rest of the day.

-Jukka Rahkonen-

Todd Fagin wrote

Greetings,

I have what I hope is a simple issue.

I have a working mapfile in which I have setup WMS.  When I test with 
GetCapabilities, everything seems to return fine (mostly, see below).  However, 
when I test with GetMap, I just get a blank image (set to the background color 
I have in the map file).

One odd thing, though, with the GetCapabilities results is that the bounding 
box coordinates reverse the X and Y:



However, the GeographicBoundingBox is correct:

   
-103.002
-94.4307
33.6158
37.0023


I am running this on my local machine so I am attaching the sample mapfile and 
the GetCapabilities results, and including the GetMap example I am using which 
is returning the blank image.

Example:

GetMap

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_Counties.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=Counties&CRS=EPSG:4326&BBOX=-103.002,33.6158,-94.4307,37.0023&WIDTH=800&HEIGHT=300&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE

GetCapabilities

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities


Any help would be greatly appreciated. Thanks in advance,

Todd


Todd Fagin
Coordinate Solutions, Inc.
405.740.4324

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


[mapserver-users] LABEL/LEADER examples??

2013-06-11 Thread Basques, Bob (CI-StPaul)
All,

Hello, I've been reading up a bit on 6.2.? and was wondering if anyone had a 
sample of the LABEL/LEADER line mapfile that I could start experimenting from.

I want to do something like a billboard label with a leader line to some POINT 
locations.

I tried some real quick tests based on the docs for LEADER, but didn't get any 
leader lines to appear.  I suspect this might need some tweaking of many 
mapfile VARs to get it looking the way I want.  Longer term, I may need to do 
some muli-line billboard labels  (if possible).

I would be glad to put my results back out somewhere public if there is 
interest.

Thanks

Bobb


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


Re: [mapserver-users] LABEL/LEADER examples??

2013-06-11 Thread Stephen Woodbridge

Bob,

The offset lable with a leader will only be attempted if there is a 
collision with and existing label that requires moving the label to 
place it on the image.


-Steve W

On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:

All,

Hello, I’ve been reading up a bit on 6.2.? and was wondering if anyone
had a sample of the LABEL/LEADER line mapfile that I could start
experimenting from.

I want to do something like a billboard label with a leader line to some
POINT locations.

I tried some real quick tests based on the docs for LEADER, but didn’t
get any leader lines to appear.  I suspect this might need some tweaking
of many mapfile VARs to get it looking the way I want.  Longer term, I
may need to do some muli-line billboard labels  (if possible).

I would be glad to put my results back out somewhere public if there is
interest.

Thanks

Bobb



___
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] LABEL/LEADER examples??

2013-06-11 Thread Basques, Bob (CI-StPaul)
Hi Steve,

Yeah, I had five or six labels all piled up on top of each other.  I couldn't 
get anything to make a Leader appear.  Truth be told, I was trying to add the 
capability (quickly) to an already fairly complex Mapfile, I tried a few 
settings changes but gave up and so I figured I should start simpler to get the 
hang of it.  :c)

I did look for a method of forcing the leaders to always be on as well, which 
might be an interesting application of the capability (at least for what I want 
to use it for).

Bobb






-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Tuesday, June 11, 2013 1:18 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] LABEL/LEADER examples??

Bob,

The offset lable with a leader will only be attempted if there is a collision 
with and existing label that requires moving the label to place it on the image.

-Steve W

On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:
> All,
>
> Hello, I've been reading up a bit on 6.2.? and was wondering if anyone 
> had a sample of the LABEL/LEADER line mapfile that I could start 
> experimenting from.
>
> I want to do something like a billboard label with a leader line to 
> some POINT locations.
>
> I tried some real quick tests based on the docs for LEADER, but didn't 
> get any leader lines to appear.  I suspect this might need some 
> tweaking of many mapfile VARs to get it looking the way I want.  
> Longer term, I may need to do some muli-line billboard labels  (if possible).
>
> I would be glad to put my results back out somewhere public if there 
> is interest.
>
> Thanks
>
> Bobb
>
>
>
> ___
> 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] LABEL/LEADER examples??

2013-06-11 Thread Basques, Bob (CI-StPaul)
All,

Oops,nevermind, I figured out my problem, they are only supported on POLYGON 
layers (huh??? Why the limit?).  Hmm, I suppose I could fake a POLYGON type in 
the output.  The data is all point based in PostGIS, So I could use an Envelope 
query of some sort I suppose, but I expect a performance hit there of some sort.

Hmm, I'll need to think about this some more . . . I wonder why only POLYGONS 
are supported?  Seems odd.

Bobb



-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Tuesday, June 11, 2013 1:18 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] LABEL/LEADER examples??

Bob,

The offset lable with a leader will only be attempted if there is a collision 
with and existing label that requires moving the label to place it on the image.

-Steve W

On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:
> All,
>
> Hello, I've been reading up a bit on 6.2.? and was wondering if anyone 
> had a sample of the LABEL/LEADER line mapfile that I could start 
> experimenting from.
>
> I want to do something like a billboard label with a leader line to 
> some POINT locations.
>
> I tried some real quick tests based on the docs for LEADER, but didn't 
> get any leader lines to appear.  I suspect this might need some 
> tweaking of many mapfile VARs to get it looking the way I want.  
> Longer term, I may need to do some muli-line billboard labels  (if possible).
>
> I would be glad to put my results back out somewhere public if there 
> is interest.
>
> Thanks
>
> Bobb
>
>
>
> ___
> 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] Help with configuring WMS

2013-06-11 Thread Todd Fagin
That's it!  Thanks Rahkonen.  Now, this begs the question of how I revert to
1.1.1?

When I use 1.1.1 in the request, it doesn't work at all.

Todd Fagin
 
Coordinate Solutions, Inc.
2804 NW 18th St.
Oklahoma City, OK 73107
405.740.4324 (voice)
904.471.5548 (fax)
www.coordinatesolutions.com


-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Tuesday, June 11, 2013 12:31 PM
To: Todd Fagin; mapserver-users@lists.osgeo.org
Subject: VS: [mapserver-users] Help with configuring WMS

Hi,

If you use WMS 1.3.0 you must use Nothing-Easting axis order with EPSG:4326.
Stay with WMS 1.1.1 of flip the coordinates in your request. Search "WMS
1.3.0 axis order" and you will find reading for the rest of the day.

-Jukka Rahkonen-

Todd Fagin wrote

Greetings,

I have what I hope is a simple issue.

I have a working mapfile in which I have setup WMS.  When I test with
GetCapabilities, everything seems to return fine (mostly, see below).
However, when I test with GetMap, I just get a blank image (set to the
background color I have in the map file).

One odd thing, though, with the GetCapabilities results is that the bounding
box coordinates reverse the X and Y:



However, the GeographicBoundingBox is correct:

   
-103.002
-94.4307
33.6158
37.0023


I am running this on my local machine so I am attaching the sample mapfile
and the GetCapabilities results, and including the GetMap example I am using
which is returning the blank image.

Example:

GetMap

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_Counties.map&;
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=Counties&CRS=EPSG:4326&BBOX=
-103.002,33.6158,-94.4307,37.0023&WIDTH=800&HEIGHT=300&FORMAT=image/png&STYL
ES=&TRANSPARENT=TRUE

GetCapabilities

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map&;
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities


Any help would be greatly appreciated. Thanks in advance,

Todd


Todd Fagin
Coordinate Solutions, Inc.
405.740.4324


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


Re: [mapserver-users] Help with configuring WMS

2013-06-11 Thread Rahkonen Jukka
Hi,

Sorry, I forgot to tell that it is SRS in v. 1.1.1 but CRS in v. 1.3.0. But it 
is actually told here
http://mapserver.org/ogc/wms_server.html

If you are busy, try these before starting to do your homeworks.

http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=-180,-90,180,90&SRS=EPSG:4326&WIDTH=953&HEIGHT=480&LAYERS=bluemarble,cities&STYLES=&FORMAT=image/png&TRANSPARENT=true

http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-90,-180,90,180&CRS=EPSG:4326&WIDTH=953&HEIGHT=480&LAYERS=bluemarble,cities&STYLES=&FORMAT=image/png&TRANSPARENT=true

-Jukka Rahkonen-

Todd Fagin wrote:

> That's it!  Thanks Rahkonen.  Now, this begs the question of how I revert to
1.1.1?

> When I use 1.1.1 in the request, it doesn't work at all.

> Todd Fagin

Coordinate Solutions, Inc.
2804 NW 18th St.
Oklahoma City, OK 73107
405.740.4324 (voice)
904.471.5548 (fax)
www.coordinatesolutions.com


-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi]
Sent: Tuesday, June 11, 2013 12:31 PM
To: Todd Fagin; mapserver-users@lists.osgeo.org
Subject: VS: [mapserver-users] Help with configuring WMS

Hi,

If you use WMS 1.3.0 you must use Nothing-Easting axis order with EPSG:4326.
Stay with WMS 1.1.1 of flip the coordinates in your request. Search "WMS
1.3.0 axis order" and you will find reading for the rest of the day.

-Jukka Rahkonen-

Todd Fagin wrote

Greetings,

I have what I hope is a simple issue.

I have a working mapfile in which I have setup WMS.  When I test with
GetCapabilities, everything seems to return fine (mostly, see below).
However, when I test with GetMap, I just get a blank image (set to the
background color I have in the map file).

One odd thing, though, with the GetCapabilities results is that the bounding
box coordinates reverse the X and Y:



However, the GeographicBoundingBox is correct:

   
-103.002
-94.4307
33.6158
37.0023


I am running this on my local machine so I am attaching the sample mapfile
and the GetCapabilities results, and including the GetMap example I am using
which is returning the blank image.

Example:

GetMap

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_Counties.map&;
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=Counties&CRS=EPSG:4326&BBOX=
-103.002,33.6158,-94.4307,37.0023&WIDTH=800&HEIGHT=300&FORMAT=image/png&STYL
ES=&TRANSPARENT=TRUE

GetCapabilities

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map&;
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities


Any help would be greatly appreciated. Thanks in advance,

Todd


Todd Fagin
Coordinate Solutions, Inc.
405.740.4324


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


Re: [mapserver-users] LABEL/LEADER examples??

2013-06-11 Thread thomas bonfort
There is no limit on layer types. However a leader line/offseted label is
rejected if the line intersects a label-cached feature.

--
tb


On 11 June 2013 20:39, Basques, Bob (CI-StPaul)  wrote:

> All,
>
> Oops,nevermind, I figured out my problem, they are only supported on
> POLYGON layers (huh??? Why the limit?).  Hmm, I suppose I could fake a
> POLYGON type in the output.  The data is all point based in PostGIS, So I
> could use an Envelope query of some sort I suppose, but I expect a
> performance hit there of some sort.
>
> Hmm, I'll need to think about this some more . . . I wonder why only
> POLYGONS are supported?  Seems odd.
>
> Bobb
>
>
>
> -Original Message-
> From: mapserver-users-boun...@lists.osgeo.org [mailto:
> mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
> Sent: Tuesday, June 11, 2013 1:18 PM
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] LABEL/LEADER examples??
>
> Bob,
>
> The offset lable with a leader will only be attempted if there is a
> collision with and existing label that requires moving the label to place
> it on the image.
>
> -Steve W
>
> On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:
> > All,
> >
> > Hello, I've been reading up a bit on 6.2.? and was wondering if anyone
> > had a sample of the LABEL/LEADER line mapfile that I could start
> > experimenting from.
> >
> > I want to do something like a billboard label with a leader line to
> > some POINT locations.
> >
> > I tried some real quick tests based on the docs for LEADER, but didn't
> > get any leader lines to appear.  I suspect this might need some
> > tweaking of many mapfile VARs to get it looking the way I want.
> > Longer term, I may need to do some muli-line billboard labels  (if
> possible).
> >
> > I would be glad to put my results back out somewhere public if there
> > is interest.
> >
> > Thanks
> >
> > Bobb
> >
> >
> >
> > ___
> > 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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] LABEL/LEADER examples??

2013-06-11 Thread Basques, Bob (CI-StPaul)

Steve,

A little more research . . . it looks like the correct way to approach this is 
with a Voronoi Polygon set like:

http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut02

The problem there though, it that the LEADER function looks like it will 
auto-anchor at the polygon centroid, not what I was looking for, instead of the 
actual point I want it to grab.

Hmm, I wonder how a simple bounding box approach to each point would work.  
There would be overlapping polygons with this approach, but it might work ok . 
. .

Bobb




-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Tuesday, June 11, 2013 1:18 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] LABEL/LEADER examples??

Bob,

The offset lable with a leader will only be attempted if there is a collision 
with and existing label that requires moving the label to place it on the image.

-Steve W

On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:
> All,
>
> Hello, I've been reading up a bit on 6.2.? and was wondering if anyone 
> had a sample of the LABEL/LEADER line mapfile that I could start 
> experimenting from.
>
> I want to do something like a billboard label with a leader line to 
> some POINT locations.
>
> I tried some real quick tests based on the docs for LEADER, but didn't 
> get any leader lines to appear.  I suspect this might need some 
> tweaking of many mapfile VARs to get it looking the way I want.  
> Longer term, I may need to do some muli-line billboard labels  (if possible).
>
> I would be glad to put my results back out somewhere public if there 
> is interest.
>
> Thanks
>
> Bobb
>
>
>
> ___
> 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] LABEL/LEADER examples??

2013-06-11 Thread Basques, Bob (CI-StPaul)
Tb,

This page says only POLYGON layer types are supported:

  mapserver.org/mapfile/leader.html

Is this old info??

bobb

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Tuesday, June 11, 2013 2:26 PM
To: Basques, Bob (CI-StPaul)
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] LABEL/LEADER examples??

There is no limit on layer types. However a leader line/offseted label is 
rejected if the line intersects a label-cached feature.

--
tb

On 11 June 2013 20:39, Basques, Bob (CI-StPaul) 
mailto:bob.basq...@ci.stpaul.mn.us>> wrote:
All,

Oops,nevermind, I figured out my problem, they are only supported on POLYGON 
layers (huh??? Why the limit?).  Hmm, I suppose I could fake a POLYGON type in 
the output.  The data is all point based in PostGIS, So I could use an Envelope 
query of some sort I suppose, but I expect a performance hit there of some sort.

Hmm, I'll need to think about this some more . . . I wonder why only POLYGONS 
are supported?  Seems odd.

Bobb



-Original Message-
From: 
mapserver-users-boun...@lists.osgeo.org
 
[mailto:mapserver-users-boun...@lists.osgeo.org]
 On Behalf Of Stephen Woodbridge
Sent: Tuesday, June 11, 2013 1:18 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] LABEL/LEADER examples??
Bob,

The offset lable with a leader will only be attempted if there is a collision 
with and existing label that requires moving the label to place it on the image.

-Steve W

On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:
> All,
>
> Hello, I've been reading up a bit on 6.2.? and was wondering if anyone
> had a sample of the LABEL/LEADER line mapfile that I could start
> experimenting from.
>
> I want to do something like a billboard label with a leader line to
> some POINT locations.
>
> I tried some real quick tests based on the docs for LEADER, but didn't
> get any leader lines to appear.  I suspect this might need some
> tweaking of many mapfile VARs to get it looking the way I want.
> Longer term, I may need to do some muli-line billboard labels  (if possible).
>
> I would be glad to put my results back out somewhere public if there
> is interest.
>
> Thanks
>
> Bobb
>
>
>
> ___
> 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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] LABEL/LEADER examples??

2013-06-11 Thread thomas bonfort
I have no idea why this was documented this way. afaik there's no such
limitation in the code.

--
tb


On 11 June 2013 21:30, Basques, Bob (CI-StPaul)  wrote:

>  Tb,
>
> ** **
>
> This page says only POLYGON layer types are supported:
>
> ** **
>
>   mapserver.org/mapfile/leader.html  
>
> ** **
>
> Is this old info??
>
> ** **
>
> bobb
>
> ** **
>
> *From:* mapserver-users-boun...@lists.osgeo.org [mailto:
> mapserver-users-boun...@lists.osgeo.org] *On Behalf Of *thomas bonfort
> *Sent:* Tuesday, June 11, 2013 2:26 PM
> *To:* Basques, Bob (CI-StPaul)
> *Cc:* mapserver-users@lists.osgeo.org
>
> *Subject:* Re: [mapserver-users] LABEL/LEADER examples??
>
> ** **
>
> There is no limit on layer types. However a leader line/offseted label is
> rejected if the line intersects a label-cached feature.
>
> ** **
>
> --
>
> tb
>
> ** **
>
> On 11 June 2013 20:39, Basques, Bob (CI-StPaul) <
> bob.basq...@ci.stpaul.mn.us> wrote:
>
> All,
>
> Oops,nevermind, I figured out my problem, they are only supported on
> POLYGON layers (huh??? Why the limit?).  Hmm, I suppose I could fake a
> POLYGON type in the output.  The data is all point based in PostGIS, So I
> could use an Envelope query of some sort I suppose, but I expect a
> performance hit there of some sort.
>
> Hmm, I'll need to think about this some more . . . I wonder why only
> POLYGONS are supported?  Seems odd.
>
>
> Bobb
>
>
>
> -Original Message-
> From: mapserver-users-boun...@lists.osgeo.org [mailto:
> mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
> Sent: Tuesday, June 11, 2013 1:18 PM
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] LABEL/LEADER examples??
>
> Bob,
>
> The offset lable with a leader will only be attempted if there is a
> collision with and existing label that requires moving the label to place
> it on the image.
>
> -Steve W
>
> On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:
> > All,
> >
> > Hello, I've been reading up a bit on 6.2.? and was wondering if anyone
> > had a sample of the LABEL/LEADER line mapfile that I could start
> > experimenting from.
> >
> > I want to do something like a billboard label with a leader line to
> > some POINT locations.
> >
> > I tried some real quick tests based on the docs for LEADER, but didn't
> > get any leader lines to appear.  I suspect this might need some
> > tweaking of many mapfile VARs to get it looking the way I want.
> > Longer term, I may need to do some muli-line billboard labels  (if
> possible).
> >
> > I would be glad to put my results back out somewhere public if there
> > is interest.
> >
> > Thanks
> >
> > Bobb
> >
> >
> >
> > ___
> > 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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] LABEL/LEADER examples??

2013-06-11 Thread Basques, Bob (CI-StPaul)
Tb,

OK, good to know.  I’ll see what I can come up with as far as making something 
work then.

Bobb



From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Tuesday, June 11, 2013 2:42 PM
To: Basques, Bob (CI-StPaul)
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] LABEL/LEADER examples??

I have no idea why this was documented this way. afaik there's no such 
limitation in the code.

--
tb

On 11 June 2013 21:30, Basques, Bob (CI-StPaul) 
mailto:bob.basq...@ci.stpaul.mn.us>> wrote:
Tb,

This page says only POLYGON layer types are supported:

  mapserver.org/mapfile/leader.html

Is this old info??

bobb

From: 
mapserver-users-boun...@lists.osgeo.org
 
[mailto:mapserver-users-boun...@lists.osgeo.org]
 On Behalf Of thomas bonfort
Sent: Tuesday, June 11, 2013 2:26 PM
To: Basques, Bob (CI-StPaul)
Cc: mapserver-users@lists.osgeo.org

Subject: Re: [mapserver-users] LABEL/LEADER examples??

There is no limit on layer types. However a leader line/offseted label is 
rejected if the line intersects a label-cached feature.

--
tb

On 11 June 2013 20:39, Basques, Bob (CI-StPaul) 
mailto:bob.basq...@ci.stpaul.mn.us>> wrote:
All,

Oops,nevermind, I figured out my problem, they are only supported on POLYGON 
layers (huh??? Why the limit?).  Hmm, I suppose I could fake a POLYGON type in 
the output.  The data is all point based in PostGIS, So I could use an Envelope 
query of some sort I suppose, but I expect a performance hit there of some sort.

Hmm, I'll need to think about this some more . . . I wonder why only POLYGONS 
are supported?  Seems odd.

Bobb



-Original Message-
From: 
mapserver-users-boun...@lists.osgeo.org
 
[mailto:mapserver-users-boun...@lists.osgeo.org]
 On Behalf Of Stephen Woodbridge
Sent: Tuesday, June 11, 2013 1:18 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] LABEL/LEADER examples??
Bob,

The offset lable with a leader will only be attempted if there is a collision 
with and existing label that requires moving the label to place it on the image.

-Steve W

On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:
> All,
>
> Hello, I've been reading up a bit on 6.2.? and was wondering if anyone
> had a sample of the LABEL/LEADER line mapfile that I could start
> experimenting from.
>
> I want to do something like a billboard label with a leader line to
> some POINT locations.
>
> I tried some real quick tests based on the docs for LEADER, but didn't
> get any leader lines to appear.  I suspect this might need some
> tweaking of many mapfile VARs to get it looking the way I want.
> Longer term, I may need to do some muli-line billboard labels  (if possible).
>
> I would be glad to put my results back out somewhere public if there
> is interest.
>
> Thanks
>
> Bobb
>
>
>
> ___
> 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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users