[mapguide-users] Finding the data file path i.e. the value of
"%MG_DATA_FILE_PATH%"
Zac Spitzer
zac.spitzer at gmail.com
Thu Aug 7 02:57:00 EDT 2008
Have a look in the mapadmin code, it accesses all these functions via
MgServerAdmin()
z
On Thu, Aug 7, 2008 at 4:45 PM, Kenneth Skovhede, GEOGRAF A/S
<ks at geograf.dk> wrote:
> I have not found a way to get it.
> I have seen others asking for it, but with no replies.
>
> If you want a copy of the files, you can get them with the "GetResourceData"
> call.
> You can write them back with "SetResourceData".
>
> This might not be viable if you are planning on reading/writing large SDF
> files though.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Carl Jokl skrev:
>>
>> I am writing some code whereby data manipulation of features is happening
>> through FDO rather than mapguide. The problem I have is that when it comes
>> to working with any auto generated temporary feature sources the file will
>> be stored in the location defined by %MG_DATA_FILE_PATH%. What I would
>> like
>> to do is get hold of the value of the data file path from the MapGuide API
>> in order to be able to replace this constant with it's value. Is this
>> possible and if so how would I go about it?
>>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
--
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
More information about the mapguide-users
mailing list