Re: [mapguide-users] Making Temporary Markups

2007-10-30 Thread Kenneth, GEOGRAF A/S
When you save or access a resource, you use "Library:///.". To make the resource temporary, use "Session:///.". So, to modify the code, search for "Library://" and determine if that particular access is supposed to be temporary, and change as note above. Regards, Kenneth, GEOGRAF A/S Deni

Re: [ZS1] Re: [mapguide-users] [ZS1] Drawing order of layers in a map

2007-10-30 Thread Kenneth, GEOGRAF A/S
Have you tried calling the "NeedsRefresh" property on the layer? Im just guessing, but the AJAX viewer is probably creating a new session. If this is correct, your map is not avalible from within the session created by the viewer. Also, be aware that there are TWO types of maps, one called a

[mapguide-users] Making Temporary Markups

2007-10-30 Thread Denis Lalonde
Is there sample code for creating map markups/redlining that are saved to the session only and not directly to the Library in Repositories? Alternatively, can someone point me in the right direction as to what to change in the Shareable Markup Sample site ( http://data.mapguide.com/mapguide/gt/in

[mapguide-users] Issue: MapGuide Server configuration with multiple websites on W2K3

2007-10-30 Thread Kori Maleski
Hi all, I have mapguide installed on a Windows 2003 server, configured with the default website. I have multiple websites with mapguide applications. If one of these sites is accessed via its url, and the mapguide map is referenced to the default website name/ip, mapguide functions fine

Re: [mapguide-users] [ZS1] Drawing order of layers in a map

2007-10-30 Thread m.karam
thanks for your reply I tried that .. but sometimes, the features of the layer that i remove, don't appear unless i refresh that layer from the legend i tried another solution .. to change the layers order in the map definition and save it in the session. And also, update the web layout by chang

RE: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread Jackie Ng
We get this problem sometimes, the whitespace causes displacement of the map, throwing off the accuracy of the selection tools. If you resize any part of the ajax viewer that would cause a resize of the map pane, the whitespace will disappear and your selection accuracy should be restored. - Jac

RE: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread IT-Joe Marvin
Jackie, After doing a bit more testing, the white space is the exact size of the offset of the cursor. The question is then, how can I prevent, or detect this white space? -joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of IT-Joe Marvin Sent: Tuesday,

RE: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread IT-Joe Marvin
Yes there is. -joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng Sent: Tuesday, October 30, 2007 3:54 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Fluctuating Cursor Accuracy Is there whitespace at the top of your AJA

Re: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread Jackie Ng
Is there whitespace at the top of your AJAX viewer? (below the toolbar) - Jackie joecm wrote: > > When using an AJAX map, cursor is not always aligned properly. > > > > For example, if I go to select a polygon, sometimes the polygon on the > tail or middle of the cursor is selected, ins

RE: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread Traian Stanev
It is likely (incorrectly) treating the remaining rings of the polygon as holes and the intersection check fails for them. This instersection check is done by the FDO provider, so it would be the SHP FDO provider that is doing intersection wrong. One thing you could try - convert your SHP to SDF

Re: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread Ryan Northcott
I've noticed this as well, and it appears to be just the way the mapframe reads your x,y location. So the further zoomed out your scale is, the harder to precision grab the x,y. Now for the fun stuff. I create shapefiles out of ArcView 3.2 that are multi-part polygons. (So two or more seperate pol

[mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread IT-Joe Marvin
When using an AJAX map, cursor is not always aligned properly. For example, if I go to select a polygon, sometimes the polygon on the tail or middle of the cursor is selected, instead of the point of the cursor.It seems to vary each time I load the page, sometimes it is correct, other ti

[mapguide-users] Best method to use dwg files

2007-10-30 Thread Marty Coonrod
I have a lot of maps (approx 10,000) that were created in AutoCAD. The dimensions are 3000' x 2000' and were created using USGS base. I would like to bring all of this data into Mapguide and was wondering what the best approach would be. I have AutoCAD, AutoCAD Map 3D, Mapguide studio to use. I am

Re: [mapguide-users] Postgis, OGR and GDAL and empty Feature Class

2007-10-30 Thread Jose Manuel C G
Solved. The problem is an incompatibility with the FDO. I recommended to change the \mapguide\fdo with new providers,... but keep and don't touch the original \Autodesk\MapGuideStudio2007\FDO\ I want to test it with more detail... so to be continue... Jose Manuel C G wrote: > > Well, This i

RE: [mapguide-users] Raster catalog

2007-10-30 Thread mates
I use that skript but the result is only a simple Featuresource .. OSGeo.Gdal DefaultRasterFileLocation D:\raster\ ConfigurationDocument I miss a list of image files and their lower-left and upper-right coordinates, tile-enabled data and a definition of a coordinate system. Maybe i

Re: [mapguide-users] Invoke URL in MapGuide Studio

2007-10-30 Thread Andrew DeMerchant
In Studio, check the "Additional Parameters" for the Invoke URL command...it's on the same tab as where you enter your url. Do you have both of those layers entered in the "use only these layers" field? Andrew alba wrote: Hi all, in MapGuide Studio I have a URL to invoke as: http://ww

Re: [ZS1] Re: [mapguide-users] [ZS1] Drawing order of layers in a map

2007-10-30 Thread Kenneth, GEOGRAF A/S
Hmm, I see... For some reason this property is not avalible in the API. You can remove it from the layers collection (code in C#): MgMap map = ..; MgMapLayerCollection col = map.GetLayers(); MgMapLayer layer= (MgMapLayer)col[0]; col.RemoveAt(0); col.Insert(col.Count - 1, layer) map.Save(...);

Re: [mapguide-users] [ZS1] Drawing order of layers in a map

2007-10-30 Thread m.karam
the layers don't have a "DisplayOrder" property... Kenneth, GEOGRAF A/S wrote: > > I belive that the layers have a "DisplayOrder" property. > So do: > > 1. Load runtime map > 2. Change "DisplayOrder" property of layers > 3. Save runtime map > 4. Refresh client display > > Regards, Kenneth, G

Re: [mapguide-users] restrictions for LayerDefinition

2007-10-30 Thread Kenneth, GEOGRAF A/S
Ok, I don't know where to find their definition. You could check the dropdown :D There are a bunch of images included in the WebStudio project that shows samples of all the avalible line and fill styles. That is probably the easiest way to get them. Regards, Kenneth, GEOGRAF A/S Takashige Naka

Re: [ZS1] [mapguide-users] Drawing order of layers in a map

2007-10-30 Thread Kenneth, GEOGRAF A/S
I belive that the layers have a "DisplayOrder" property. So do: 1. Load runtime map 2. Change "DisplayOrder" property of layers 3. Save runtime map 4. Refresh client display Regards, Kenneth, GEOGRAF A/S m.karam skrev: Hi everybody I want to change the (Drawing Order) of the Map Layers at r

Re: [mapguide-users] a newbie important question?

2007-10-30 Thread Kenneth, GEOGRAF A/S
You can use WebStudio, and it is Open Source. MapGuide OS is also Open Source. You can download all the source from osgeo. Unfortunately, since all is given away for free, some areas are lacking. WebStudio is missing some funtionality, because the community has not yet prioritized further develo

[mapguide-users] a newbie important question?

2007-10-30 Thread Saka Royban
Hi all. It's around 3 weeks i've transferred to MGOS. but it sounds it is not completely open source (free). for example, how can i make maps and load my shapefiles to internet and do any needed editting on them WITHOUT using any commercial software? someone told me i need to purchase MapGuide W

[mapguide-users] Drawing order of layers in a map

2007-10-30 Thread m.karam
Hi everybody I want to change the (Drawing Order) of the Map Layers at run-time according to a specific conditions How can i do it? Thanks in advance Karam -- View this message in context: http://www.nabble.com/Drawing-order-of-layers-in-a-map-tf4717405s16610.html#a13485333 Sent from the MapGu

[mapguide-users] Problem with DWF Viewer

2007-10-30 Thread m.karam
Hi Everybody I have a problem when I use the DWF Viewer in MGOS 1.2 : While the (dwfviewer.aspx) is loading, a big white box appear in the left-top corner of the page and disappear after the page loading has finisfed Any ideas please.. thanks in advance Karam -- View this message in context:

Re: [mapguide-users] restrictions for LayerDefinition

2007-10-30 Thread Takashige Nakagawa
Hi, Kenneth. I don't want to change any restrictions. I'm writing a manual on LayerDefinition for my client, so I need to know the values which are supposed for LineStyle(such as Solid, Dash, Dot...) and FillPattern(Solid, Net, Net_45...). Do I have to check the Mapguide Studio's DropDownList?

[mapguide-users] Invoke URL in MapGuide Studio

2007-10-30 Thread alba
Hi all, in MapGuide Studio I have a URL to invoke as: http://www.nabble.com/file/p13483981/invoke.jpg when I use one layer ex. MONUMENTI the command is abled when I select a object on layer MOMUNEMTI, but I use two layers, as image, the command is disabled when I select a object on layer MO