[mapserver-users] other problems from 3.4 to 3.5 ?
    Daniel Morissette 
    morissette at dmsolutions.ca
       
    Mon May  7 07:37:14 PDT 2001
    
    
  
"A. Giacomelli" wrote:
> 
> Having fixed this, from the 3.5 setup, I am getting other complaints
> from the mapserver, related to other tags in the map file (QUERY,
> QUERYITEM, HEADER...), always as a loadLayer error.
> plus another strange error reading a shapefile (which works clean on my
> first installation)...
> 
> I have tried searching the mailing list archive for references to
> documentation to the 3.5 map files, without success (maybe I tried with
> the wrong search keys, or it's not there yet).
> 
> Would you confirm that even the errors on QUERY, QUERYITEM etc. come
> from new map file definitions ?
> (in this case I think I'll stick to 3.4 also in the second server I am
> setting up...)
> 
Andrea,
Yes, the errors with the QUERY and QUERYITEM are also related to changes
in the mapfiles for 3.5.
I've attached below a list of changes in the mapfiles and in mapscript
from 3.4 to 3.5.  I realize this list does not contain much explanations
about the changes, but hopefully it will help.
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.
-------------- next part --------------
MapServer - HISTORY.TXT
=======================
Version 3.5 - March 2001
------------------------
- In .map LAYER defns: QUERYITEM and QUERY objects (queryObj) are
  gone... their params moved inside classObj.
  The query is performed on all the shapes that are part of a CLASS 
  that contains a TEMPLATE parameter. 
- Draw() method of pointObj, RectObj take class_index instead
  of class_name as argument
   pointObj->Draw(map, layer, img, class_index, label_string)
   rectObj->Draw(map, layer, img, class_index, label_string)
- shapeObj:
    Draw changes to: shapeObj->Draw(map, layer, img)
  + new methods:
    shapeObj->setBounds()
    shapeObj->copy(shape)
  + values[] associative array
- queryResultObj, shapeResultObj are gone, replaced by resultCacheObj
   new methods:
     layerObj->open(path)
     layerObj->close()
     layerObj->getShape(int tileindex, int shapeindex)
     layerObj->getResult(int i)
     layerObj->setFilter(string filter)
- layerObj->classify() gone.
- New layer->FILTERITEM
- map->DrawQueryMap(queryResultObj) changed to  map->DrawQuery(void)
- New layer->DrawQuery(img)
- QueryUsingPoint() / QueryUsingRect() do not return query result...
  info is stored inside layer instead.
   QueryUsingPoint() ->  int QueryByPoint(point, mode, buffer)
   QueryUsingRect() ->  int QueryByRect(rect)
   QueryUsingFeatures() ->  int QueryByFeatures(int slayer)
   QueryUsingShape() ->  int QueryByShape(shape)
- image->saveImage()/saveWebImage() changed to:
   saveImage(string filename, int type, int transparent,
             int interlace, int quality)
   saveWebImage(int type, int transparent, int interlace, int quality)
- New resultCacheMemberObj class... replaces queryResultObj
- PHP: new ms_GetVersion()
- New OGR support:
   - OGR style attributes: "OGR:LabelText", "OGR:LabelAngle", "OGR:LabelSize"
   - PROJECTION AUTO for layers
- Changes to SHAPE_TYPE, LAYER_TYPE, SHAPEFILE_TYPE constants
- Layer status MS_QUERY is gone (valid values are ON, OFF, DEFAULT.  EMBED
  can also be used for legend/scalebar.
- PROJ.4.4.3 is now required for PROJ support.
- layerObj: "legend" and "description" moved into metadataObj
- New METADATA object in map file + MapScript methods in mapObj + layerObj:
   getMetaData(name);
   setMetaData(name, value);
Version 3.4 - February 2001
---------------------------
- SHADESET, LINESET, MARKERSET -> SYMBOLSET
  All symbols files should be combined by cat'ing them together.
- STYLED removed in symbol definitions
  Brute force solution: flush all symbols with a STYLED from your .sym
files.
Version 3.3.011 - July 2000
---------------------------
-
--------
$Id: $
    
    
More information about the MapServer-users
mailing list