Are you using MapGuide Studio or Maestro?
If you are using MapGuide Studio, create a Load Procedure containing the SHP
files you want to upload. The load procedure will create the Feature Sources
and Layers Definitions for you.
If you are using MapGuide Maestro, this link explains how to create
My way im upload shp and dbf file.. if dont have OGR DataConnection.. U can
upgrade FDO..
Select FDO Provider for SHP and put shp and dbf file..
-
::: PublicVisitor :::
www.myguidepages.com
--
View this message in context:
http://n2.nabble.com/Upload-.shp-file-tp2196349p2196398.html
Sent fr
can post the url generating the error,
it looks like you dont have
&USERNAME=Administrator&PASSWORD=admin&
specified properly in the url params
On Thu, Jan 22, 2009 at 2:38 AM, Mark Pendergraft wrote:
> Close your browser, and restart the MapGuide service.
>
>
>
> From: mapguide-users-boun...@lis
Hi, we have Mapguide OpenSource 1.2 running on Ubuntu 7.04, and using Mapguide Studio 2008, and AutoCad Map 3D 2008.
We have a defined line type file in Map 3D, that we need to import/install/get working within Mapguide Studio and MGOS.
Furthermore, we have blocks in Map 3D created for manhole cove
Is there a simple way to hide the MapTip from other widgets? I tried
using Fusion.Widgets.Maptip.prototype.hideMaptip(); but that causes the
program to break because that widget makes numerous calls to
this.xx() functions.
I have a widget that is similar to the measure widget and I want to
I have an attribute in one of my point layers called 'hyperlink'. When I
select a point in a flexible web layout (i.e., Slate) the selection widget
shows the hyperlink address, but I can not click on the address to advance
to the website.
I know I can use the 'URL Activated for Feature' in the l
I am having trouble displaying some WMS layers from the Province of BC in
MapGuide Studio/Enterprise 2009. The get capabilities page is
http://openmaps.gov.bc.ca/imagex/ecw_wms.dll?service=wms&version=1.1.1&request=getcapabilities
I need to display:
BC_BC_BC_XB1M_BCALB_1995_2003
BC_BC_BC_XC1M_BC
Hi,
Frameset sucks, use iframe, it's more flexibile.
In C# code create two mgSession's and define two differen weblayout's.
MgUserInformation userInfo = new MgUserInformation(defaultUser,
defaultPassword);
MgSite site = new MgSite();
site.Open(userInfo);
Roldolfo,
Sorry I didn't look at your code. It's pretty much exactly the same as
what I posted. Why would you need to modify any of the viewer files in
order to have 2 pages in your map?
I was able to create a 2 map page using framesets in the same manner
that you did.
-Mark
-Original Mess
Many people have their page in a frameset. Here is an example which has
two frames, 1 for a title.html page and 1 for the mapguide viewer. Here
is an example of what your frameset page might look like (in VB.NET)
**
<%@ Page Language="VB" Debug="true" %>
<%@ Imp
I have examples of the code I'd be willing to post but it's in VB.Net
and it makes use of web services, which probably isn't the majority of
people are implementing there code.
That being said the code is there, and there are a lot of good VB.Net to
C# converters (and vice versa) on the web.
-Mar
Hi Jackie,
I don't understand what you want to tell me, could you elaborate on your
idea?
this the code of my beginning page
String webLayout =
"Library://Samples/Sheboygan/Layouts/SheboyganAspTest.WebLayout";
String defaultUser = "Anonymous";
String defaultPassword = "";
String sessionId1 = "
Are you trying to add permanent layers to the map?
Does this need to happen at runtime?
-Mark
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kenneth
Skovhede, GEOGRAF A/S
Sent: Wednesday, January 21, 2009 2:24 AM
To: MapGuide Users Ma
Close your browser, and restart the MapGuide service.
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of kmanoj-pg7
kmanoj-pg7
Sent: Wednesday, January 21, 2009 1:12 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Map agent
The buffer example doesn't read data from database, isn't it? I need to read
data from a MySql database and, after executing a SQL query, display them on
the map.
How can I do that? Is there any example code about that?
Thank you very much again
Cheers
Carmelo
- Original Message -
Fr
That is good news, at least I know someone is looking at this! If they find a
solution, will it be included in later MGOS releases?
Marius
zspitzer wrote:
>
> or buy a license for MGE and use the autodesk raster provider ...
>
> I managed to demonstrate the problem to the autodesk team with a
As I said on my last post, I successfully linked the buffer code to the Task
Panel item. But there is a problem, when the buffer code is executed I get
this runtime error:
Buffer Error
An unclassified exception occurred. Exception occurred in method
new_MgSelection__SWIG_1 at line 649 in file
Nope.
If you do manage to get it done, others would benefit from an example:
http://trac.osgeo.org/mapguide/wiki/CodeSamples/AspDotNet/TemporaryMarkupsDotNet
Try using the "Buffer" feature of the MapGuide AJAX viewer to see how it
works.
Alternatively, the Scribble application may have some u
Yes, just insert points instead of the buffer feature.
Regards, Kenneth Skovhede, GEOGRAF A/S
Carmelo Saffioti skrev:
Thank you for your reply Kenneth.
Trying examples on DevGuideSamples I discovered how to work with the
Task Pane...
Now I need to draw dynamically on the map points of know
I don't understand what you mean.
Changes to the runtime map does not go into MGStudio.
Only changes to the MapDefinition xml can be seen there.
Regards, Kenneth Skovhede, GEOGRAF A/S
sekko970 skrev:
Dear Kenneth,
I need your help for a second problem:
I apparently save successfully the new
Dear Kenneth,
I need your help for a second problem:
I apparently save successfully the new layer into library repository (the
legend and the map are correctly updated, and from MGStudio the new layer is
visible in layers list), but in MGStudio 'Layer by group' view, my layer
doesn't appear, so t
Ermm Can u give a example??
-
::: PublicVisitor :::
www.myguidepages.com
--
View this message in context:
http://n2.nabble.com/Draw-Point-From-Invoke-Script-n-c--script-tp2190486p2191335.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_
Thank you for your reply Kenneth.
Trying examples on DevGuideSamples I discovered how to work with the Task
Pane...
Now I need to draw dynamically on the map points of known x,y coordinates,
after clicking on the appropriate Task item. I hope this can be done with
the buffer script you sugges
Dear users,
I am a newbie to this Mapguide open source
world. so this is my problem when i was trying to configure the WMS part in
mapguide through Map agent, i faced one problem after filling up the set
resource form, finally i pressed submit button, then next step e
Hi Dorin,
I don't know a way to create al layer with symbol definitions using MG
Studio.
But you can create the layer XML by hand and use Map Agent to upload the
this file. Or you use MapGuide Maestro for XML editing.
On
http://www.bricscad.bplaced.net/html/mapguide_und_symbole.html
I hav
You are right!
Many thanks.
Fabio
sekko970 wrote:
>
> Dear all,
> I need to add a layer to my map from XML definition.
>
> This is my code:
>
> Public Sub CreateLater(ByVal sessionID As String, ByVal mapName As
> String, _
>ByVal newLayerName As Str
A very simple way, would be to place an tag with a marker on the page.
Then use the viewer API methods to calculate the pixel position that
corresponds to
the point center, and place the image there.
You need to re-position the tags when the map pans or zooms.
The more generic approach, is t
I have not used the AJAX viewer enough to know how to do this with tasks.
The values can be read from the viewer through some property functions:
http://mapguide.osgeo.org/files/mapguide/docs/2.0/viewerapi.html#mapframe_getsessionid
http://mapguide.osgeo.org/files/mapguide/docs/2.0/viewerapi.html
You probably have to use the MgLayer class, and not the semi-absctract
base class MgLayerBase:
Dim newLayer As New MgLayer(resID, resourceSrvc)
Regards, Kenneth Skovhede, GEOGRAF A/S
sekko970 skrev:
Dear all,
I need to add a layer to my map from XML definition.
This is my code:
Publi
29 matches
Mail list logo