Hi to all,

I write here because I have a problem with .mdb source-data files. When I
use .dbf files queryeditor, identify and autoidentify plugin functions run
normally. Instead if I use as source an .mdb file and configured as
CONNECTIONTYPE ogr and CONNECTION "/path to .mdb file" in my .map file
queryeditor, identify and autoidentify not work.

I post here my .map file. At middle of file the layer that interests me is
called "Particelle" and the associated .mdb file is called "Terreni.mdb"

 

Thanks in advance for the help and my bad English language

 

MAP

  EXTENT 2586489.686764 4474176.565957 2598880.124277 4483835.180551

  #NAME "pmapper_demo"

  # Map image size

  SIZE 600 500

  UNITS meters

  SHAPEPATH
"C:/Inetpub/vhosts/paesit.calvello.eu/httpdocs/ms4w/Apache/htdocs/essit/SHP/
"

  SYMBOLSET
"C:/Inetpub/vhosts/paesit.calvello.eu/httpdocs/ms4w/Apache/htdocs/Calvello/c
onfig/common/symbols/symbols-pmapper.sym"   

  FONTSET
"C:/Inetpub/vhosts/paesit.calvello.eu/httpdocs/ms4w/Apache/htdocs/Calvello/c
onfig/common/fonts/msfontset.txt"   

  RESOLUTION 100

  IMAGETYPE png

  INTERLACE ON

  PROJECTION

    'proj=tmerc'

    'lat_0=0'

    'lon_0=15'

    'k=0.9996'

    'x_0=2520000'

    'y_0=0'

    'ellps=intl'

    'towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68'

    'units=m'

    'no_defs'

 END

 

 

  # Legend

  LEGEND

    IMAGECOLOR 255 255 255

    STATUS ON

    KEYSIZE 18 12

    LABEL

      TYPE BITMAP

      SIZE MEDIUM

      COLOR 0 0 89

    END

    #TEMPLATE "config_default.xml"

  END

 

 

WEB

  

  IMAGEPATH
"C:/Inetpub/vhosts/paesit.calvello.eu/httpdocs/ms4w/Apache/htdocs/tmp/ms_tmp
/"

  IMAGEURL "/tmp/ms_tmp/"

  

END  # Web

 

REFERENCE

  EXTENT 2690026.531730 4579315.670243 2695255.756736 4582503.370246

  IMAGE
"C:/Inetpub/vhosts/paesit.calvello.eu/httpdocs/ms4w/Apache/htdocs/Calvello/i
mages/reference.png"

  SIZE 229 149

  COLOR -1 -1 -1

  OUTLINECOLOR 255 0 0

END  # Reference

 

SCALEBAR

  STATUS on

  TRANSPARENT on

  INTERVALS 4

  SIZE 200 3

  UNITS kilometers

  COLOR 250 250 250

  OUTLINECOLOR 0 0 0

  BACKGROUNDCOLOR 100 100 100

  STYLE 0

  POSTLABELCACHE true

  LABEL

    COLOR 0 0 90

    #OUTLINECOLOR 200 200 200

    SIZE small

  END  # Label

END  # Reference

 

Symbol

  Name "circle"

  Type ELLIPSE

  Filled TRUE

  Points

    1 1

 END

END 

 

Symbol

  Name "square"

  Type VECTOR

  Filled false

  Points

    0 1

    0 0

    1 0

    1 1

    0 1

  END

END

 

Symbol

  Name "v-line"

  Type VECTOR

  Filled false

  Points

    0 0

    5 10

    10 0

  END

END

 

Symbol

  Name "hatchsymbol"

  Type hatch

END

 

 

Symbol

  Name "v-Poly"

  Type VECTOR

  Filled false

  Points

    0 0

    3.5 8

    7 0

    5.2 0

    3.5 4

    1.8 0

    0 0

  END

END

 

 

 

#================== START OF LAYER SECTION =====================#

.

.

.

.

.

.

.

...

  LAYER

    NAME "Particelle"

    TYPE POLYGON

    EXTENT 2586489.686764 4474176.565957 2598880.124277 4483835.180551

    CONNECTIONTYPE OGR

    CONNECTION
"C:/Inetpub/vhosts/paesit.calvello.eu/httpdocs/ms4w/Apache/htdocs/essit/SHP/
Terreni.mdb"  ****HERE IS MY PROBLEM*****

    DATA "Particelle" 

    METADATA

      "DESCRIPTION" "Catasto Terreni"

      "ows_title" "Particelle"

    END

    STATUS default

    TRANSPARENCY 100

    TEMPLATE void

    PROJECTION

    'proj=tmerc'

    'lat_0=0'

    'lon_0=15'

    'k=0.9996'

    'x_0=2520000'

    'y_0=0'

    'ellps=intl'

    'towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68'

    'units=m'

    'no_defs'

    END

    LABELITEM "NUMERO"

    LABELMAXSCALEDENOM 3000

      LABELMINSCALEDENOM  0

    CLASS

       NAME "Particelle" 

       STYLE

         WIDTH 0.91 

         OUTLINECOLOR 0 0 0

       END

      LABEL

      FONT FreeSansOblique

      TYPE truetype

      SIZE 12

      COLOR 0 0 0

      ANGLE 0

      POSITION cc

      FORCE true

      ANTIALIAS true

      PARTIALS true

     END 

    END

  END

.

.

.

....

 

END

 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to