[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapguide-users
Subject:    Re: [mapguide-users] Add Data Connection for Shp's Problem
From:       "Kenneth Skovhede, GEOGRAF A/S" <ks () geograf ! dk>
Date:       2009-05-29 6:47:47
Message-ID: 4A1F8513.8010702 () geograf ! dk
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@geograf.dk>/* 
> wrote:
> 
> 
> From: Kenneth Skovhede, GEOGRAF A/S <ks@geograf.dk>
> Subject: Re: [mapguide-users] Add Data Connection for Shp's Problem
> To: "MapGuide Users Mail List" <mapguide-users@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@lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/mapguide-users
> > > 
> > > 
> > 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> </mc/compose?to=mapguide-users@lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 


[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I don't think that the .dbf file should be in bold, but if it works, it
works :).<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Pedro Ven&acirc;ncio skrev:
<blockquote cite="mid:255702.43997.qm@web65614.mail.ac4.yahoo.com"
 type="cite">
  <table border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td
 style="font-family: inherit; font-style: inherit; font-variant: inherit; \
font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: \
inherit; font-stretch: inherit;"  valign="top">Hi Kenneth<br>
        <br>
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.<br>
        <br>
Thanks for your work!<br>
        <br>
Regards,<br>
Pedro Venancio<br>
        <br>
        <br>
        <br>
--- On <b>Thu, 5/28/09, Kenneth Skovhede, GEOGRAF A/S <i><a \
class="moz-txt-link-rfc2396E" \
href="mailto:ks@geograf.dk">&lt;ks@geograf.dk&gt;</a></i></b> wrote:<br>
        <blockquote
 style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: \
                5px;"><br>
From: Kenneth Skovhede, GEOGRAF A/S <a class="moz-txt-link-rfc2396E" \
                href="mailto:ks@geograf.dk">&lt;ks@geograf.dk&gt;</a><br>
Subject: Re: [mapguide-users] Add Data Connection for Shp's Problem<br>
To: "MapGuide Users Mail List" <a class="moz-txt-link-rfc2396E" \
href="mailto:mapguide-users@lists.osgeo.org">&lt;mapguide-users@lists.osgeo.org&gt;</a><br>
                
Date: Thursday, May 28, 2009, 8:52 PM<br>
          <br>
          <div id="yiv1653168901"> This is the Maestro user guide, and
the only one I know of:<br>
          <a moz-do-not-send="true" rel="nofollow"
 class="moz-txt-link-freetext" target="_blank"
 href="http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/FileFeatureSource">http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/FileFeatureSource</a><br>
  <br>
To add manually:<br>
When you add the file, choose the "All files" in the file type.<br>
Then mark all the files that are related to the shp, and click OK.<br>
After you are done all the files should be uploaded.<br>
Select the .shp file and click the star button.<br>
          <pre class="moz-signature">Regards, Kenneth Skovhede, GEOGRAF A/S
          </pre>
          <br>
          <br>
Tom Lazo skrev:
          <blockquote type="cite">
            <pre>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:
  </pre>
            <blockquote type="cite">
              <pre>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):
<a moz-do-not-send="true" rel="nofollow" class="moz-txt-link-freetext"
 target="_blank"
 href="http://trac.osgeo.org/mapguide/wiki/maestro/Downloads">http://trac.osgeo.org/mapguide/wiki/maestro/Downloads</a>


Regards, Kenneth Skovhede, GEOGRAF A/S



Tom Lazo skrev:
    </pre>
              <blockquote type="cite">
                <pre>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-&gt;new-&gt;Data Connection-&gt;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 
  
      </pre>
              </blockquote>
              <pre>_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" rel="nofollow"
 class="moz-txt-link-abbreviated"
 ymailto="mailto:mapguide-users@lists.osgeo.org" target="_blank"
 href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
 <a moz-do-not-send="true" rel="nofollow" class="moz-txt-link-freetext"
 target="_blank"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>


    </pre>
            </blockquote>
            <pre>  </pre>
          </blockquote>
          </div>
          <br>
-----Inline Attachment Follows-----<br>
          <br>
          <div class="plainMail">_______________________________________________<br>
mapguide-users mailing list<br>
          <a moz-do-not-send="true"
 ymailto="mailto:mapguide-users@lists.osgeo.org"
 href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
  <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
          </div>
        </blockquote>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a> <a \
class="moz-txt-link-freetext" \
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </pre>
</blockquote>
</body>
</html>



_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic