Andrea Aime ha scritto: > Jody Garnett ha scritto: >> Andrea Aime wrote: >>>> GetLog >>>> - making it available as a normal feature is fine, collections >>>> support can be done if you need it. >>> Indeed, it's true... I just don't have any idea of how complex that >>> would be and which GML producer we would need to use... >> Same one as for GetFeatures .... >> <FeatureCollection> >> <!--Log of revision 43235 onward--> >> <Feature fid="people.fred" version="43235">..<Feature> >> <Feature fid="people.fred" version="43242">..<Feature> >> </FeatureCollection> > > Huh? > GetLog does not return the various states of a feature, it returns > the equivalent of svn log, that is, who, revision number, > commit message, and if you add a verbose parameter, a list of > changed features ids, that would be all. So I would need > support for a plain list as an attribute of the ChangeLog feature: > > svn log "my feature with fid roads.2045": > > <FeatureCollection> > <ChangeLog fid="100"> > <author>Jody</author> > <revision>100</revision> > <msg>Connected two lines</msg> > <featuresChanged> > <fid>roads.2056</fid> > <fid>roads.2030</fid> > </featuresChanged> > </ChangeLog> > <ChangeLog fid="45"> > <author>Aaime</author> > <revision>45</revision> > <msg>Created new road</msg> > <featuresChanged> > <fid>roads.2056</fid> > </featuresChanged> > </ChangeLog> > ... > </FeatureCollection>
Gah, yesterday I was really braindead... it's not the features I wanted to list, but the feature type changed (that is, the tables that have been impacted by the "transaction" operation that created the new revision). Ok, the technical problem does not change, I have an attribute which is a list of strings and I'd like to output it... For the first implementation I'll simple give up and not provide this info to the user, but it would be nice to in the long run. Cheers Andrea ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
