We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layer definition:
LAYER NAME "AVD" GROUP "AVD" CONNECTIONTYPE postgis CONNECTION "host=localhost port=5432 dbname=fwt_prod user=c2 password=C2" STATUS ON TYPE POLYGON MINSCALEDENOM 1500 MAXSCALEDENOM 500000 LABELMAXSCALEDENOM 21000 POSTLABELCACHE FALSE PROCESSING "LABEL_NO_CLIP=ON" LABELCACHE ON TEMPLATE "void" # DEBUG 5 PROJECTION "init=epsg:3006" END
php
$oLayer= $oMap->getLayerByName("AVD"); if ($bDebug) { fwrite($f,"Layername: ".$oLayer->name."\r\n"); } $data = "KARTOBJ_SDO FROM ".$dbowner.".AVD*AVD"; $data = str_replace("*","$",$data); $ab = $oLayer->set("data", $data); $filter = "([ORGID]='".$orgid."' AND [FV]='".$fv."' AND [BEV]='".$bev."' AND [SKIFTE]='".$skifte."')"; $aa = $oLayer->setFilter($filter); $ac = $oLayer->setConnectionType(MS_ORACLESPATIAL); $oLayer->set("connection", $conn); $res = $oLayer->queryByAttributes("AVD", "'".$avd."'", MS_SINGLE); if ($bDebug) { fwrite($f,"avd-res: ".$res."\r\n"); } $oLayer->open();
results in: wnum, KARTOBJ_SDO FROM c2.AVD$AVD WHERE AVD = AVD = '250' AND ORGID = 'BSD' AND FV = 'FV1' AND BEV = '1' AND SKIFTE = '3235'
wnum, KARTOBJ_SDO FROM c2.AVD$AVD WHERE AVD = AVD = '250' AND ORGID = 'BSD' AND FV = 'FV1' AND BEV = '1' AND SKIFTE = '3235'
The text was updated successfully, but these errors were encountered:
Oraclespatial: remove filteritem (RFC91) (#5229)
b1604a7
Remove addition of filteritem to sql since its being added via the filter translation processes
fixed in branch-7-0 in b1604a7
Sorry, something went wrong.
msmitherdc
No branches or pull requests
Layer definition:
php
results in:
wnum, KARTOBJ_SDO FROM c2.AVD$AVD WHERE AVD = AVD = '250' AND ORGID = 'BSD' AND FV = 'FV1' AND BEV = '1' AND SKIFTE = '3235'
The text was updated successfully, but these errors were encountered: