MapTools.org

[maplab-users] What causes this error?? (maplab-beta6)

woodbri@swoodbridge.com woodbri@swoodbridge.com
Wed, 24 Jul 2002 15:09:34 -0400
On 24 Jul 2002 at 14:13, Paul Spencer wrote:

> I've seen this before, I think the projection is invalid somehow.  Are 
> you using the latest version of maplab?  I think that there were some 
> issues with mapedit and setting up the projections in some earlier 
> versions.  Also, if you are using mapbrowser If you could send the 
> mapfile, or at least the projection settings, that might help figure it out.

Paul,

Mapfile below. I'm using beta6. The mapfile works fine except for 
this error and the fact that every time I try to run gmapfactory I 
get a javascript error when I run IE 5.5 - switched to NS 4.79 and 
the javascript error goes away.

-Steve

MAP
  NAME "gadsden"
  STATUS ON
  EXTENT 1850043.62398028 512249.445079203 2012425.97125672 
626430.515528745 
  SIZE 400 400 
  IMAGECOLOR 255 255 255
  UNITS FEET
  IMAGETYPE GIF
  SYMBOLSET "/home/httpd/html/web2/msapps/map/symbols/symbol.sym"
  FONTSET "/home/httpd/html/web2/msapps/map/fontset.txt"
  WEB
    IMAGEPATH "/home/httpd/html/web2/tmp/"
    IMAGEURL "/web2/tmp/"
  END
  REFERENCE
    IMAGE "/home/httpd/html/web2/msapps/map/maps-ref.gif"
    STATUS ON
    EXTENT 1850043.62398028 512249.445079203 2012425.97125672 
626430.515528745 
    SIZE 100 100 
  END
  PROJECTION
    "proj=lcc"
    "datum=NAD83"
    "lon_0=-84d30"
    "lat_1=30d45"
    "lat_2=29d35"
    "lat_0=29"
    "x_0=600000"
    "y_0=0"
    "to_meter=0.3048006096"
    "no_defs"
  END
  LEGEND
    STATUS ON
  END
  SCALEBAR
    STATUS ON
    UNITS MILES
    SIZE 400 10 
    STYLE 1
    COLOR 0 0 0
    TRANSPARENT ON
  END
  LAYER
    NAME "parcels"
    STATUS DEFAULT
    DATA "/data/maps/gadpar"
    TYPE POLYGON
    UNITS FEET
    LABELITEM "DXF_TEXT"
    LABELMAXSCALE 10000
    PROJECTION
      "proj=lcc"
      "datum=NAD83"
      "lon_0=-84d30"
      "lat_1=30d45"
      "lat_2=29d35"
      "lat_0=29"
      "x_0=600000"
      "y_0=0"
      "to_meter=0.3048006096"
      "no_defs"
    END
    CLASS
      COLOR 153 255 204
      OUTLINECOLOR 0 0 0
      LABEL
        TYPE BITMAP
        SIZE TINY
        COLOR 0 0 0
        OUTLINECOLOR 255 255 255
      END
    END
  END
  LAYER
    NAME "major roads"
    STATUS ON
    DATA "/data/maps/majroads"
    TYPE LINE
    UNITS DD
    PROJECTION
      "proj=latlong"
      "datum=NAD27"
      ""
    END
    CLASS
      SYMBOL 8
      COLOR 255 0 0
      SIZE 2
    END
  END
  LAYER
    NAME "minroads"
    STATUS ON
    DATA "/data/maps/minroads"
    TYPE LINE
    UNITS DD
    PROJECTION
      "proj=latlong"
      "datum=NAD27"
      ""
    END
    CLASS
      COLOR 0 255 0
    END
  END
END



This archive was generated by Pipermail.