[mapguide-users] FDO provider for shp?
Kenneth, GEOGRAF A/S
ks at geograf.dk
Tue Aug 7 16:09:48 EDT 2007
You should be able to view the Providers.xml file in IE. If it does not
open correctly you might not be able to use it from MapGuide.
It may very well be a defect Xml file that prevents the provider from
showing.
Could you post the xml file?
The provider shows up in my version of Studio (2008), but 2007 hides
some of the known providers. You can try to make a copy of the provider,
and name it differently in the xml. Copy the entire <FeatureProvider>
block, and insert an identical copy. Then change the <Name> from
OSGeo.SHP.3.2 to OSGeo.MySHP.3.2. Then restart the server. I know that
this works for the Raster provider, which is useless without the
modification.
For info on how to use a remote share, you should poke around
Microsoft's site. A starter article could be:
http://support.microsoft.com/kb/149984/EN-US/
Regards, Kenneth, GEOGRAF A/S
Mansoureh Sadrykia skrev:
> Thank you very much Kenneth, GEOGRAF A/S for patiently answering my
> question,
>
> I tried what you said. The providers.xml could not be displayed using
> IE! the error was this: "Cannot view XML input using XSL style sheet."
> My fdo.dll version is 3.2.0 and although the providers.xml include the
> lines for 'fdo provider for shp' and 'fdo provider for sdf' these two
> are not shown in 'data connection' window in mg studio! Do I have to
> download any extra dll's in order to be able to connect to shp files?
> or not.
>
> 2) Please explain me more about getting access to files from a network
> share, I really need to get access to shp files from different IP
> addresses and then bring them to studio in order to make web layouts.
>
> Lots of Thanks for your help,
>
> */"Kenneth, GEOGRAF A/S" <ks at geograf.dk>/* wrote:
>
> 1) Yes, it should be there. Try opening the "providers.xml" with
> Internet Explorer to ensure that it is valid. The server must be
> restarted for any changes to take effect.
> 2) It is supposed to work that way.
> 3) The provider will have access to any and all files that the
> MapGuide Server service process has access to. This is usually the
> local system account. It will not have access to any network
> drives you have set up, and will use the local account for remote
> authentication. In other words, unless the files are in a share
> with anonymous access, it will probably not get access. Perfomance
> wise, I would also recomend against using files from a network share.
>
> Regards, Kenneth, GEOGRAF A/S
>
>
>
> Mansoureh Sadrykia skrev:
>> Hi List!
>>
>> I want to connect to shp files in a remote computer, and I've
>> decided to use ' fdo provider for shp' in mapguide studio;
>> Although I have the 'SHPprovider.dll' and the necessary code in
>> 'provides.xml' in..\Bin\FDO directory I can't see *osgeo FDO
>> provider for shp* when using New>Data Connection! ...1) should
>> the provider for shp be there? 2) If not how can I connect to
>> shp files? 3) Can I connect to shp files in a remote computer in
>> this way or there is another way?
>> Please help me,
>> Thanks in advance;
>> ------------------------------------------------------------------------
>> Looking for a deal? Find great prices on flights and hotels
>> <http://us.rd.yahoo.com/evt=47094/*http://farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20->
>> with Yahoo! FareChase.
>> ------------------------------------------------------------------------
>> _______________________________________________ mapguide-users mailing list mapguide-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
> ------------------------------------------------------------------------
> Boardwalk for $500? In 2007? Ha!
> Play Monopoly Here and Now
> <http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow>
> (it's updated for today's economy) at Yahoo! Games.
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070807/cfda3544/attachment.html
More information about the mapguide-users
mailing list