RE: [mapguide-users] Tooltip on MapGuide Web API

2009-05-26 Thread Jackie Ng
Which constructor for MgMap did you use and which overload of Create()/Open()/Save() did you use? - Jackie gatopardo wrote: > > I've tried to open the map with MgMap.Create() and with MgMap.Open() > I've tried to call Save(), but doesnt' work. > > It could be a bug? Or I am doing something wr

RE: [mapguide-users] Tooltip on MapGuide Web API

2009-05-26 Thread gatopardo
I've tried to open the map with MgMap.Create() and with MgMap.Open() I've tried to call Save(), but doesnt' work. It could be a bug? Or I am doing something wrong? Chris Claydon wrote: > > I *think* that when you call RenderMap, it will set the width and height > for the in-memory map object.

RE: [mapguide-users] ECWs and MG 2.1

2009-05-26 Thread Jason Birch
For sure... I haven't had a chance to document it properly though. The version of GDAL 1.6 bundled with FDO 3.4 (MapGuide 2.1) can be extended with any standard gdal plugin. For my needs I was able to download all of the files that I wanted from the wonderful OSGeo4W project (http://trac.osgeo

RE: [mapguide-users] Add a layer from a shape file (.shp) - MapGuide

2009-05-26 Thread Andy Morsell
I've kicked around the same idea with some customers. There are many things to think about when considering building an application like this. You will need to provide an upload mechanism for your customers and provide them an interface to provide things like coordinate system overrides (if a .pr

[mapguide-users] ECWs and MG 2.1

2009-05-26 Thread Danfri
It appears that since upgrading to 2.1 (from 2.0.2), the ECW raster images I was previously using are no longer displayed on my map. Is this due to the FDO version changing from 3.3 to 3.4? I have installed the files found at that were working with 2.0.2 found at http://trac.osgeo.org/fdo/wiki/F

RE: [mapguide-users] MapGuide Open Source 2.1 beta -- Installer Problem

2009-05-26 Thread Jason Birch
James, you can extract the MSI and VS redist from the .exe file using 7Zip, and then (after installing the redist) run it with syntax like: msiexec /i PackageName.msi /l*v logfile.log I don't think the bootstrapper we're using has the ability to generate logfiles automatically. It was somethin

[mapguide-users] MapGuide Open Source 2.1 beta -- Installer Problem

2009-05-26 Thread James Card
On Mon, 25 May 2009 21:32:54 -0700, Tom Fukushima wrote: Thanks to the ever growing team of developers who are contributing to make the MapGuide Open Source project a more self-sustaining project. A special thanks to Jackie and Jason who worked tirelessly on the Windows installer. I'm

RE: [mapguide-users] Add a layer from a shape file (.shp) - MapGuide

2009-05-26 Thread Dave Wilson
So I think you are saying they are temporary then. You should be able to add the FeatureSource and LayerDefinitions to the Session Repository then and add the layer to the runtime map. There should be examples of that kicking around. It's getting the SHP file to the server that's the issue depe

RE: [mapguide-users] Add a layer from a shape file (.shp) - MapGuide

2009-05-26 Thread Tom Lazo
Hi Dave, Well, firstly thanks for the reply. The idea is as follows: i just want my clients to upload their shapes files on my server's map, just to allow them to make some queries with both info (my layers and their layers), like buffers or measures. Thanks Tom Lazo -- View this message in

RE: [mapguide-users] Oracle FDO and View

2009-05-26 Thread GordonL
Ok, finnally, I created a new column called GISKEY based on the ROWNUM and made that the primary key in the Materialize View..and it works great now. Thanks! gordon GordonL wrote: > > Yep, the materialized view has its own key - but still the individual > objects cannot be selected within Ma

RE: [mapguide-users] Add a layer from a shape file (.shp) - MapGuide

2009-05-26 Thread Dave Wilson
Is it expected to be a permanent layer or a temporary layer? Basically you can modify a template (blank) XML FeatureSource connection file and do a SetResource on the results. After that you could also modify a template XML file for a layer definition and add that to the Library as well. This w

RE: [mapguide-users] MapGuide Open Source 2.1 beta released

2009-05-26 Thread Jason Birch
Apparently there was a major backbone outage at Level3. Should be resolved now... Jason -Original Message- From: James Card Sent: Tuesday, May 26, 2009 1:10 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] MapGuide Open Source 2.1 beta released Twice now the download has p

[mapguide-users] Add a layer from a shape file (.shp) - MapGuide

2009-05-26 Thread Tom Lazo
Hi all, Well i have this doubt. I'd like to know if there's a way to add a layer from a shape, just like ArcGis does. I mean, i'd like to have a button wich opens an explorer wich allows me to choose a shape file. I use Mapguide, Php, JavaScript and Fusion. Plz if sb knows how to do this, email

RE: [mapguide-users] Oracle FDO and View

2009-05-26 Thread GordonL
Yep, the materialized view has its own key - but still the individual objects cannot be selected within MapGuide. The same data in the traditional table work fine. Very weird. gordon Dave Wilson wrote: > > A materialized view might need its own primary key defined as it's > basically a table

RE: [mapguide-users] Oracle FDO and View

2009-05-26 Thread Dave Wilson
A materialized view might need its own primary key defined as it's basically a table. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL Sent: Tuesday, May 26, 2009 2:37 PM To: mapguide-users@lists.os

RE: [mapguide-users] Oracle FDO and View

2009-05-26 Thread GordonL
Yes, it does work, but it does not allow me to select features in the map. For example, I have a materialize view called MVIEW_PARCELS, it has a spatial index on the GEOMETRY column and index on the GIS_ID column. It has a row in the MDSYS.SDO_GEOM_METADATA_TABLE. I can see everything on th

Re: [mapguide-users] MapGuide Open Source 2.1 beta released

2009-05-26 Thread James Card
On Tue, 26 May 2009 12:53:50 -0700, Andrew DeMerchant wrote: Am I the only one having trouble downloading this? Twice now the download has proceeded to 34.5MB of data and then died. -- James Card California CAD Solutions, Inc. 209-578-5580 - Voice 209-521-6493 - FAX ___

RE: [mapguide-users] MapGuide Open Source 2.1 beta released

2009-05-26 Thread Berdel, Brian
Yes, having trouble now. Although I was able to earlier. Brian From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Tuesday, May 26, 2009 3:54 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] MapGuide Open

Re: [mapguide-users] MapGuide Open Source 2.1 beta released

2009-05-26 Thread Andrew DeMerchant
Am I the only one having trouble downloading this? The link's not working for meand for what it's worth, the link says download.osgeo.org, not downloads.osgeo.org (downloads.osgeo.org at least gives me a 404)... Andrew On 5/26/2009 4:29 PM, Tom Fukushima wrote: Hi Andrew,

RE: [mapguide-users] MapGuide Open Source 2.1 beta released

2009-05-26 Thread Tom Fukushima
Hi Andrew, Barring unforeseen circumstances, once the repositories have been upgraded for the beta, these same repositories will work for subsequent betas and release candidates; that is, those steps do not have to be executed again. That said, you can run those steps on a repository as many ti

Re: [mapguide-users] MapGuide Open Source 2.1 beta released

2009-05-26 Thread Andrew DeMerchant
Nice and easy - thanks! Will this be the same method to be used for later upgrades (ie, from the 2.1 beta to the final release of 2.1)? Andrew On 5/26/2009 3:54 PM, Tom Fukushima wrote: The information on how to upgrade from a previous release is now available from the Releas

RE: [mapguide-users] MapGuide Open Source 2.1 beta released

2009-05-26 Thread Tom Fukushima
The information on how to upgrade from a previous release is now available from the Release Notes page. It looks like the only thing that will need to be done is to upgrade the resource repositories. Cheers Tom From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.

Re: [mapguide-users] re; mapguide studio

2009-05-26 Thread Kenneth Skovhede, GEOGRAF A/S
No, its not possible to generate kml from Maestro. Regards, Kenneth Skovhede, GEOGRAF A/S girish kumar bv skrev: Hi all, Is it possible to generate kml from mapguide studio for the themed layer (color classified layer) regards, girish

[mapguide-users] re; mapguide studio

2009-05-26 Thread girish kumar bv
Hi all,Is it possible to generate kml from mapguide studio for the themed layer (color classified layer)regards,girish ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] re: kml generation

2009-05-26 Thread girish kumar bv
Hi all,Can anyone provide me javacode to generate kml for polygons in mapguide.Any help is appreciated.regards,girish ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] prob with GetSelectionXml()

2009-05-26 Thread saloua wakrim
thanks for your reply but it's same in vb.net even i do count() it gives the same error 2009/5/26 Chris Claydon > I'm not too familiar with VB, but don't you need to call Layers.GetCount() > (i.e. using brackets (), since it's a method)? > > -Original Message- > From: mapguide-users-boun

RE: [mapguide-users] prob with GetSelectionXml()

2009-05-26 Thread Chris Claydon
I'm not too familiar with VB, but don't you need to call Layers.GetCount() (i.e. using brackets (), since it's a method)? -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of wakrimsaloua.wak...@gmail.com Sent: Tues

Re: [mapguide-users] help

2009-05-26 Thread saloua wakrim
hi! thanks alot for your help, i found exemple in phpsamples explaining how to get features from XMLSelection, i tried use it today, but i've prob wich i don't understand: i've prob with use the xml selection wich i get after user clic on polygone, this is javascript function i use to get selectio

RE: [mapguide-users] Tooltip on MapGuide Web API

2009-05-26 Thread Chris Claydon
I *think* that when you call RenderMap, it will set the width and height for the in-memory map object. Try calling Save() on the map to save the values back to the session repository before making the calls to GetDisplayWidth/GetDisplayHeight. Chris. -Original Message- From: mapguide-u

[mapguide-users] prob with GetSelectionXml()

2009-05-26 Thread wakrimsaloua . wakrim
hi all! i've prob with use the xml selection wich i get after user clic on polygone, this is javascript function i use to get selection:(i write it in textfiel and read it by Request.Form: function test() { k= document.formulaire.classe.value=carte.GetMapFrame().GetSelectionXML();

Re: [mapguide-users] Resource was not found

2009-05-26 Thread gatopardo
Hello, How can I create a runtime map? I have a map instance created by MgMap.Create, but if after that I try to call MgMap.Open or MgMap.Save, I get a exception like "Resource was not found: Session . .Map" With this instance the RenderMap works fine, and also the layers visibility changing,

[mapguide-users] Set Map Height and Width on Web Api

2009-05-26 Thread gatopardo
When I call the methods GetDisplayHeight, GetDisplayWidth or GetDisplayScale, all of them return 0, although before I have called MgRenderingService.RenderMap passing the image height and width, and the image is rendered successfully. I don't know how to set these values, and because of this some

Re: [mapguide-users] MapGuide Open Source 2.1 beta released

2009-05-26 Thread Andrew DeMerchant
What's the procedure for upgrading existing 2.0 installations? Andrew On 5/26/2009 1:32 AM, Tom Fukushima wrote: Hi, We are pleased to announce that the MapGuide Open Source project team has made MapGuide Open Source 2.1 beta available. Release notes: http://trac.osgeo.org/mapguide/wiki

RE: [mapguide-users] Tooltip on MapGuide Web API

2009-05-26 Thread gatopardo
I've tried QueryFeatures on MgRenderingService, but it throws an exception. I've been looking the MgRenderingService source code, and the exception is because the map has the height, width and scale equal to 0. I don't know how can I set this values on Web Api. Because the map doesn't have setDis

Re: [mapguide-users] Select Within and ODBC feature source

2009-05-26 Thread Plantech
I noticed the same thing in MGE 2010 and made an inquiry to the Autodesk MGE discussion forum. Here is my observation. I've come across problems with selecting objects spatially with Mapguide Enterprise. It seems that when selecting objects (points) by buffer, radius, or polygon, it depends o

Re: [mapguide-users] polygon zoom problem

2009-05-26 Thread Kenneth Skovhede, GEOGRAF A/S
So, the problem is that you sometimes get "Specified Object was Not Found"? In that case your title and surrounding description is quite misleading. Are you absolutely sure that the geometry column is named "GEOMETRY" in all cases? Do you check that the geometry value is not null before reading

Re: [mapguide-users] polygon zoom problem

2009-05-26 Thread padmini godavarthi
Hi Kenneth, Thanks for ur response. some times i got the x,y and scale values correctly then the zoom function works correctly some times i got the error at MgByteReader Dim featureReader As MgFeatureReader =featureService.SelectFeatures(fetresource,layer.GetFeatureClassName(), nameQuery

Re: [mapguide-users] Maestro Issues

2009-05-26 Thread Kenneth Skovhede, GEOGRAF A/S
Yes, both the "too large repo" issue and the "path dot" issue are resolved in trunk. Regards, Kenneth Skovhede, GEOGRAF A/S Jackie Ng skrev: 1) I get this problem too. I have folders that contain dots and Maestro will just choke when it encounters one. 2) I do believe that this has been add

Re: [mapguide-users] help

2009-05-26 Thread Kenneth Skovhede, GEOGRAF A/S
The keyword for this is base64 encoding, see: http://lists.osgeo.org/pipermail/mapguide-users/2008-February/011245.html and http://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg03312.html Regards, Kenneth Skovhede, GEOGRAF A/S saloua wakrim skrev: i resolved coordinates point prob and

[mapguide-users] Select Within and ODBC feature source

2009-05-26 Thread Matteo
Hi all, in my MGOS 2.0.2 project I have many layers from ODBC data sources (SQL Server tables). When I use the select within function me are also selected items that are outside the selected polygon. Someone knows how to solve the problem? Regards, Matteo -- View this message in context: http