Opened 15 years ago
Closed 15 years ago
#2982 closed defect (invalid)
One PHP for multiple .map whith difrent SHAPEPATH for shp and dbf files
Reported by: | DomiM | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.2.1 release |
Component: | MapServer C Library | Version: | 5.2 |
Severity: | normal | Keywords: | |
Cc: |
Description
Hello, i use MSW4 MapServer CGI 5.2.1 I have 2 .map Map1 SHAPEPATH "../../../data/Remoulins" Map2 SHAPEPATH "../../../data/Anduze" whith the same name of file When i change the map1 to map2 graphic and queryByPoint is OK but when i do this : $savedExtent = clone($gpoMap->extent); $gpoMap->setExtent($maxExtent->minx, $maxExtent->miny,$maxExtent->maxx, $maxExtent->maxy); $poLayer = $gpoMap->getlayerbyname($tab); $poLayer->open(); $poLayer->whichShapes($gpoMap->extent); while (($shape = $poLayer->nextShape()) != null) {
$id=$shape->values[$nid]; $no=$shape->values[$nval];
....
the values of $id and $no are read in the dbf of map1 ("../../../data/Remoulins") and not in the Map2 SHAPEPATH "../../../data/Anduze"
My mapserver site http://orcima.no-ip.org/gmap/Remoulins.phtml
Change History (3)
comment:1 by , 15 years ago
comment:3 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Sory, it's my ajax request for list of object who's dont give the name of the .map