I need a HOWTO make a parcel search with php

José Manuel Cerrejón González gis at mapas-sll.com
Mon May 8 11:18:47 EDT 2006


Hi, I want to make from zero, with this info:

   1. I have a Parcel.sdf 3.0 in *XY-M* (Arbitrary X-Y Coordinates
      (Meters)).
   2. IIS 6.0 + PHP.
   3. Parcel.sdf contain a column IDCad with the ID of the parcel.

I've been seeing findparcels.php and I think I must to change some code:

In findparcelfunctions.php:

    $ll84Wkt = 'GEOGCS["LL84",DATUM["WGS_1984",SPHEROID["WGS 
84",6378137,298.25722293287],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",1]]';

$locationProperty->SetSpatialContextAssociation('LL84');

$sdfParams = new MgCreateSdfParams('LL84', $ll84Wkt, $parcelMarkerSchema);

In findparcels.php:

$map->Open($resourceService, 'Sheboygan');

$featureResId = new 
MgResourceIdentifier("Library://Samples/Sheboygan/Data/Parcels.FeatureSource");


Any help?




More information about the Mapguide_users mailing list