[Geoprisma-dev] FeaturePanel_AttribueForm

Alexandre Dube adube at mapgears.com
Wed Jan 26 11:43:53 EST 2011


Hi,

   Well, I'm a bit disappointed to state that it will not be possible to 
avoid having to manually define the fields to edit.  Here's the fact :

   I thought when clicking on a feature, I could simply take the 
attributes already existent and build a form with that.  That works, but 
when creating a new feature, I need that list from somewhere else since 
the feature itself doesn't have any attributes yet.  I would need a 
DescribeFeatureType request equivalent in FeatureServer but 
unfortunately there isn't such a thing.  It is also out of the question 
to manually generates a request that would return only one feature for 
that purpose because if the data has no features yet, it wouldn't work.

   So, it's kinda back to square one.  If we used WFS, we could use the 
GeoExt.data.AttributeStore already existant in GeoExt lib...

   For now, I have no choice but to proceed using a new 'fields' tag 
inside the resources.  If anyone has any comments, you're welcome to 
state them.

Thanks,

Alexandre


On 11-01-25 02:09 PM, Alexandre Dube wrote:
> Devs,
>
>   After analysing the efforts it would take to implement the 
> FeaturePanel_Form inside the PGSQLMapContextConfig driver, we came to 
> the conclusion that it would be too hard to do and also very dirty.
>
>   Here's the solution we came up with : a new 
> FeaturePanel_AttributeForm widget.  See the details [1].  It will be 
> usable in all XML configs and the DB config as well, will have a very 
> short configuration, etc.
>
>   I'll get on it right away and let you know of my progress.
>
> Best regards,
>
> Alexandre
>
> [1] http://trac.osgeo.org/geoprisma/ticket/183
>


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Geoprisma-dev mailing list