Re: [mapguide-users] install mapguide 3.1 on ubuntu

2017-01-03 Thread Johan Van de Wauw
I'm surprised this gives an error as the script has #!/bin/bash as the first line Anyway, a quick fix: replace pushd with cd and remove popd. This will work, but you will end up in the temporary directory after the script. cd ${TEMPDIR} main Kind Regards, Johan On Thu, Dec 29, 2016 at 10:28

Re: [mapguide-users] MgSelection - highlight selected features in map

2017-01-03 Thread Fritz Robert
Hi Jackie, many thanks, that helped. I think my problem was that I used the same featureReader twice - but it looks to me that a featureReader can be used only once? I didn't find any hint in the documentation as it only says " Provides a forward-only, read-only iterator for reading features

Re: [mapguide-users] MgSelection - highlight selected features in map

2017-01-03 Thread Jackie Ng
Yeah, don't do that. Feature readers are single-use for a given query result and they can't be rewound back to the beginning of a query result (hence forward-only). Most data access libraries (not just MapGuide/FDO) work in this manner. So basically, just re-execute that same query to get a