Hi all, Have been following this discussion, and I thought I would try the plugin in question (had noticed it but not had time to tinker). Does a good job and is similar to something I used in another webgis app. A suggestion (if this plugin is ongoing) would be it would be great to have a 'history' of selection tasks that you can then re-run at a click (I guess you just remember selection criteria/layer for the re-runs).
Cheers Chris On 8 April 2011 13:44, Thomas RAFFIN <traf...@sirap.fr> wrote: > As you are using ms 5.6, I think I know why it doesn't works. > > Try this (I will not commit it because MS 6 will soon be released, and > the API will change again): > 1 - incphp/query/squery : > > - line 102, add a parameter to printResultRow call to indicate if > you are using DB layer: > $this->qStr .= $this->printResultRow($qShape); > will become > $this->qStr .= $this->printResultRow($qShape, true); > > - line 112, add this parameter to the called function : > function printResultRow($qShape) > will become > function printResultRow($qShape, $isBbLayer = false) > > - line 117 add this parameter to called "printShapeField" function: > $this->qStr .= ($this->qLayerType != 3 ? $this->printShapeField($qShape) > : "\"r\""); > will become > $this->qStr .= ($this->qLayerType != 3 ? $this->printShapeField($qShape, > $isBbLayer) : "\"r\""); > > - line 128, add this parameter to the "printShapeField" fucntion > function printShapeField($qShape) > will become > function printShapeField($qShape, $isBbLayer = false) // or without > default value, because it is only called once in the code > > - line 133, use this parameter: > if ($qTileShpIdx != -1) { > will become > if (!$isBbLayer && $qTileShpIdx != -1) { > > 2 - in incphp/common.php, replace > if ($_SESSION['MS_VERSION'] >= 5.6) { > with > if ($_SESSION['MS_VERSION'] >= 5.6 && $shapeTileIndex != -1) { > > Hopes this helps. > > If SHP exports doesn't works I've got an other change to do in > plugin/export.shp.php > > Thomas > > Le 08/04/2011 12:42, Andreas Douvalis a écrit : > > I forgot to inform you that I have Postgresql 8.4 with PostGis 1.5.2. > > > > > ------------------------------------------------------------------------------ > > Xperia(TM) PLAY > > It's a major breakthrough. An authentic gaming > > smartphone on the nation's most reliable network. > > And it wants your games. > > http://p.sf.net/sfu/verizon-sfdev > > _______________________________________________ > > pmapper-users mailing list > > pmapper-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users