Ticket #2982 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by DomiM

Sory, it's my ajax request for list of object who's dont give the name of the .map

Changed 4 years ago by sdlime

So is this invalid?

Steve

Changed 4 years ago by sdlime

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.