back to what i think the subject line implies

Does the API support doing something like a
ByteSink.ToFile('exported_oracle_data.sdf') on a FeatureReader?

z


On Tue, Jan 8, 2008 at 6:26 AM, mates <[EMAIL PROTECTED]> wrote:
>
>  Finally i found a solution !!
>  I created a new temporary featureSource and a layer definition.And then
>  simply copied the geometry from the selected features to the new layer.
>
>
>           $agfReaderWriter = new MgAgfReaderWriter();
>           $Commands = new MgFeatureCommandCollection();
>
>           while ($featureReader->ReadNext())
>            {
>
>                  $byteReader = $featureReader->GetGeometry('Geometry');
>
>                  $properties = new MgPropertyCollection();
>                  $properties->Add(new MgGeometryProperty('ProjektyGeom', 
> $byteReader));
>                  $parcelMarkerCommands->Add(new 
> MgInsertFeatures('ProjektyResultClass',
>  $properties));
>
>             }
>
>       $featureService->UpdateFeatures($parcelFeatureResId, $Commands,
>  false);
>  --
>  View this message in context: 
> http://www.nabble.com/Create-feature-source-from-FeatureReader-tp14585581s16610p14674936.html
>
>
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
>  _______________________________________________
>  mapguide-users mailing list
>  [email protected]
>  http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to