[mapserver-users] Mapserver 6.0.0 beta4 mapscript layer.getFeature missing?
francesco
francesco.pirotti at unipd.it
Sat Apr 2 03:41:56 PDT 2011
Ok thanks that cleared it up!! My objective "simply" is to get feature
number X from a layer (postgis). I'll look at getShape() . Thank you
also for links to the trunk migration guides.
Francesco
Il 02/04/2011 11:26, Armin Burger ha scritto:
> Francesco
>
> getShape() has been deprecated in MS <=5.6 and has been re-introduced
> (with modifications) in MS 6, and getFeature() that replaced
> getShape() in MS <=5.6 has been removed in MS 6, quite clear, isn't
> it? ;-)
>
> There's a migration guide Mapscript 5.6->6 and an RFC hat describe
> Mapscript changes, though I don't know if that reflects the final
> status or if there have been additional changes in the meantime:
> http://www.mapserver.org/trunk/mapscript/php/migration_guide.html
> http://www.mapserver.org/trunk/development/rfc/ms-rfc-65.html
>
> armin
>
>
> On 02/04/2011 10:52, francesco wrote:
>> Hello everyone,
>> Thanks to mapserver developers/users for their time to help out on this
>> list.
>> I am trying out the new Mapserver 6.0.0, compiled it for windows and now
>> I am testing it.
>> Came across the following problem:
>> on mapscript I cannot call the "getFeature($i)" function; I get the
>> following message
>> /Call to undefined method layerObj::getFeature() /
>>
>> The migration guide reads:
>> /layer.getShape(int tileindex, int shapeindex)) has been deprecated and
>> renamed to layer.getFeature(int shapeindex [, int tileindex = -1]) to
>> match the SWIG MapScript equivalent./
>>
>> But it seems that function does not exist! :-)
>>
>> Am I missing out on something?
>>
>> Cheers,
>> --
>> **************************************************
>> *Francesco Pirotti*
>> Dep. TESAF
>> CIRGEO – Interdepartmental Research Center on Cartography Photogrammetry
>> Remote Sensing and G.I.S.
>> University of Padova
>> Web: http://www.cirgeo.unipd.it/cirgeo/francescopirotti.htm
>> Email: francesco.pirotti at unipd.it <mailto:francesco.pirotti at unipd.it>
>> Phone: +39 049 827 2710
>> Phone: +39 349 55 39 261
>> **************************************************
>>
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
--
**************************************************
*Francesco Pirotti*
Dep. TESAF
CIRGEO – Interdepartmental Research Center on Cartography Photogrammetry
Remote Sensing and G.I.S.
University of Padova
Web: http://www.cirgeo.unipd.it/cirgeo/francescopirotti.htm
Email: francesco.pirotti at unipd.it <mailto:francesco.pirotti at unipd.it>
Phone: +39 049 827 2710
Phone: +39 349 55 39 261
**************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110402/55c002f7/attachment.htm>
More information about the MapServer-users
mailing list