[mapguide-users] Add Data Connection for Shp's Problem

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Fri May 29 02:47:47 EDT 2009


I don't think that the .dbf file should be in bold, but if it works, it 
works :).

Regards, Kenneth Skovhede, GEOGRAF A/S



Pedro Venâncio skrev:
> Hi Kenneth
>
> Adding shp files automatically with newer version of Maestro makes the 
> .dbf file as the datasource (file in bold), instead of .shp file. Is 
> this correct? I have to say that everything woks fine anyway.
>
> Thanks for your work!
>
> Regards,
> Pedro Venancio
>
>
>
> --- On *Thu, 5/28/09, Kenneth Skovhede, GEOGRAF A/S /<ks at geograf.dk>/* 
> wrote:
>
>
>     From: Kenneth Skovhede, GEOGRAF A/S <ks at geograf.dk>
>     Subject: Re: [mapguide-users] Add Data Connection for Shp's Problem
>     To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
>     Date: Thursday, May 28, 2009, 8:52 PM
>
>     This is the Maestro user guide, and the only one I know of:
>     http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/FileFeatureSource
>
>     To add manually:
>     When you add the file, choose the "All files" in the file type.
>     Then mark all the files that are related to the shp, and click OK.
>     After you are done all the files should be uploaded.
>     Select the .shp file and click the star button.
>
>     Regards, Kenneth Skovhede, GEOGRAF A/S
>               
>
>
>
>     Tom Lazo skrev:
>>     Thanks, i'll try to do it as you said. But, if it doesn't work, could you
>>     tell me how could i do it manually, is there any tutorial for that?. 
>>
>>     Thanks again
>>
>>     Tom
>>
>>
>>
>>     Kenneth Skovhede, GEOGRAF A/S wrote:
>>       
>>>     You need to upload more than just the .shp file.
>>>     There are usually a bunch of files related to a single shape file,
>>>     and you need to upload them all (they all have the same filename, but 
>>>     different extensions).
>>>
>>>     The Maestro UI was not really helpfull there, so I changed it.
>>>     You can either use your current version of Maestro, and add the files 
>>>     manually,
>>>     or use the newest preview version and it will ask you if you want it 
>>>     done automatically.
>>>     (new version released a few hours ago r3911):
>>>     http://trac.osgeo.org/mapguide/wiki/maestro/Downloads
>>>
>>>     Regards, Kenneth Skovhede, GEOGRAF A/S
>>>
>>>
>>>
>>>     Tom Lazo skrev:
>>>         
>>>>     Hi all, 
>>>>
>>>>     Well, i've tried to "Upload Data into a new Feature Source" via mapguide,
>>>>     but the link throws me to a "Not found" page. Ok... i've realized this
>>>>     problems some weeks before.. so i got the AutoDesk MapGuide Studio
>>>>     2009...trial.. ok. Actually this frameworks allows me to upload the data
>>>>     from a shape file.
>>>>
>>>>     Ok, now i'm trying to do the same but with Maestro, so i go to
>>>>     file->new->Data Connection->OSGeo FDO Provider for SHP... then i search
>>>>     my
>>>>     shape file and open it. 
>>>>
>>>>     Now, i validate this resource whith the big green check and i get this
>>>>     error:
>>>>
>>>>     ********************************************************************************
>>>>     Validating file:
>>>>     Session:08df1c68-2d35-102c-8000-001cc0a62e16_es_7F0000010AFC0AFB0AFA//6d899f62-7b06-4fb3-8f53-d8e9b2187049.FeatureSource
>>>>     Error - OSGeo.MapGuide.MaestroAPI.FeatureSource: Failed to read schema
>>>>     description: Error en el servidor
>>>>      remoto: (559)
>>>>     MgInvalidStreamHeaderException.: 
>>>>     Invalid stream header exception.
>>>>     Exception occurred in method MgCommand.GetResponse at line 152 in file
>>>>     d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\common\mapguidecommon\Services/Command.cpp
>>>>
>>>>
>>>>
>>>>     Plz, tell what's the cause of this mistake...i'm really lost.
>>>>
>>>>     Thanks
>>>>
>>>>     Tom 
>>>>       
>>>>           
>>>     _______________________________________________
>>>     mapguide-users mailing list
>>>     mapguide-users at lists.osgeo.org
>>>     http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>         
>>       
>
>     -----Inline Attachment Follows-----
>
>     _______________________________________________
>     mapguide-users mailing list
>     mapguide-users at lists.osgeo.org
>     </mc/compose?to=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
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090529/3a09f64e/attachment.html


More information about the mapguide-users mailing list