[mapserver-users] Testing x64 MapServer
Vogt, Robert (RCIS)
Robert.Vogt at rcis.com
Wed May 18 11:17:56 PDT 2016
Good afternoon I'm trying to set up x64 MapServer on Windows 2012 server.
I've been partially successful in that the MapServer dll's are all there but when I run my .map file through shp2img.exe
The process is failing on a .map file that worked previously.
This is what the map file looks like ...
MAP
NAME USA1
SYMBOLSET "e:\arcgisserver\basedata\symbols.txt"
FONTSET "e:\arcgisserver\basedata\fonts.txt"
STATUS ON
IMAGETYPE PNG8
RESOLUTION 72
IMAGECOLOR 255 255 255
SHAPEPATH "e:\arcgisserver\basedata"
UNITS METERS
PROJECTION "proj=lcc" "lat_1=20" "lat_2=60" "lat_0=40" "lon_0=-112.52116185" "x_0=0" "y_0=0" "ellps=GRS80" "units=m" "datum=NAD83" END
SIZE 1500 1500
EXTENT -45292.7219576058 780481.616003812 45290.5126012127 871065.05991903
LAYER
STATUS DEFAULT
CONNECTIONTYPE PLUGIN CONNECTION "server=Left Blank on purpose, I've tested the connection with a .udl file on the server"
PLUGIN "msplugin_mssql2008.dll"
DATA "shape(geography) from FARMMAPS.GIS.STATE USING INDEX S7_idx USING UNIQUE OBJECTID USING SRID=4269"
NAME "States"
TYPE POLYGON
STATUS DEFAULT
PROJECTION "proj=longlat" "ellps=GRS80" "datum=NAD83" "no_defs" END
LABELITEM "state"
CLASS
NAME "States"
STYLE
SYMBOL 0
WIDTH 2 OUTLINECOLOR 255 0 0
END
LABEL TYPE truetype
FONT arial
PRIORITY 2
ALIGN center
SIZE 10
COLOR 255 0 0
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 2
MINDISTANCE 300
ANGLE AUTO
WRAP "~"
END
END
END
END
I have tested the SQL connection string with a .udl file on the server and it is working.
The out put of shp2img.exe looks like this...
PS E:\rcis\web\MapServerDlls> ./shp2img.exe -m E:\RCIS\Web\MapServerDlls\MapServerTest\map4.map -o E:\RCIS\Web\MapServer
Dlls\MapServerTest\image1.png -all_debug 5
msLoadMap(): 0.000s
msDrawMap(): rendering using outputformat named png8 (AGG/PNG8).
msDrawMap(): WMS/WFS set-up and query, 0.000s
msDrawMap(): Image handling error. Failed to draw layer named 'States'.
msDrawMap(): Image handling error. Failed to draw layer named 'States'. <br>
msFreeMap(): freeing map at 00000067B88C2DE0.
Any help is greatly appreciated!!
Thank you so much!!
-Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160518/bcfd271c/attachment.htm>
More information about the MapServer-users
mailing list