[mapserver-users] getProjection error
Bistrais, Bob
Bob.Bistrais at maine.gov
Thu Sep 6 07:24:10 PDT 2012
Lines 213-215:
if($layer->getProjection() != NULL) {
$projection = $layer->getProjection();
}
I've just added a Projection to the layer in question (the Map section already contains one), still no go.
The error log says: msQueryByPoint(): Search returned no results. No matching record(s)
-I am definitely clicking on a valid location, and the layer shows up visually on the map. Not sure why it doesn't return a result.
-----Original Message-----
From: Jeff McKenna [mailto:jmckenna at gatewaygeomatics.com]
Sent: Wednesday, September 05, 2012 9:35 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] getProjection error
On 12-09-04 4:12 PM, Bistrais, Bob wrote:
> -As I said, other, similar layers are working just fine with the same
> query code, and I can't see anything wrong with the shapefile. What
> else should I be checking?
>
Hmm I am not sure. What exact line is 213? If I was going to use a
getProjection() function I would make sure that each LAYER has a PROJECTION object in the mapfile (as well as in the MAP object).
Maybe other list readers can see the issue.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list