Re: [mapguide-users] UpdateFeatures

2009-03-02 Thread Zac Spitzer
cool, can you file a new bug? it should be raising an exception! z 2009/3/3 Ivan Milicevic : > Zac, > > I have found error. Sdf file was marked as READ ONLY. Now, everything works > perfectly. Thank's a lot for your time. > > -Original Message- > From: mapguide-users-boun...@lists.osgeo.

Re: [mapguide-users] Load Layer Definition XML

2009-03-02 Thread Kenneth Skovhede, GEOGRAF A/S
Yes, I run it with MGE 2009. Regards, Kenneth Skovhede, GEOGRAF A/S clarkie342 skrev: Hi, Does MaestroAPI work with Mapguide Enterprise? Thanks. wordsy wrote: Thanks for the quick response. It was exactly what I needed. Cheers! Kenneth Skovhede, GEOGRAF A/S wrote: If you want

RE: [mapguide-users] UpdateFeatures

2009-03-02 Thread Ivan Milicevic
Zac, I have found error. Sdf file was marked as READ ONLY. Now, everything works perfectly. Thank's a lot for your time. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Zac Spitzer Sent: Monday, March 02, 2009

[mapguide-users] can't launch weblayout in browser

2009-03-02 Thread DYUTI
hi all i can't launch the web layout in browser.while clicking on preview button this error has occurred "httpd.exe has generated errors and will be closed by windows You will need to restart the program". but i got the map

[mapguide-users] Help: Cartographic Symbol Definition

2009-03-02 Thread SCLuna
Good Day, I was wondering if anyone could help me about cartographic symbol definition. What happed was after I load the layerdefinition and look at my layer in edit mode in mapguide studio 2009, I can see my symbol definition in the composite preview under the style area of mapguide studio 2009

RE: [mapguide-users] window open

2009-03-02 Thread DYUTI
hi all. thank u mark u r absolutely correct "a new window opened".now i have to get the info corresponds to each point in the layer from the database.I connect it with database but while clicking on each point the same information is displaying. Anybody having any idea regarding this...

[mapguide-users] How Enable and Disable Icon

2009-03-02 Thread ajid
Invoke Script Start Refresh - window.refreshTimerId = window.setInterval('GetMapFrame().Refresh()', 1); Icon : start.png Stop Script --- window.clearInterval(window.refreshTimerId); Icon : stop.png My question, i wanna make a enable button default and when clicked it d

[mapguide-users] Mapguide Crashing IIS (w3wp.exe) service or vice Versa

2009-03-02 Thread Flipper
Keep getting this error(See Below) on one specific machine on a regular basis...couldnt tell you whats different on this install from others...its Windows 2003 Server SP2...Anyone have any ideas? Application Errors: Event Type: Error Event Source: Application Error Event Category: (100)

RE: [mapguide-users] SQL 2008 Geographic data type can't be selected

2009-03-02 Thread Rodolfo Moreno
Thanks Andrei, I am goin to try your suggestion. miansi wrote: > > Hello Rodolfo, > > Make sure you set SRID while populating SQL: > > ... > , [Geo] = GEOMETRY::STGeomFromText([import].[Geo], @SRID) > ... > > Base on your map (WGS 84) your SRID should be something like 4326 > > > Regards,

Re: [mapguide-users] Load Layer Definition XML

2009-03-02 Thread clarkie342
Hi, Does MaestroAPI work with Mapguide Enterprise? Thanks. wordsy wrote: > > Thanks for the quick response. It was exactly what I needed. > > Cheers! > > > Kenneth Skovhede, GEOGRAF A/S wrote: >> >> If you want to modify the layer xml, you just read the xml like this: >> >> MgByteReader

RE: [mapguide-users] SQL 2008 Geographic data type can't be selected

2009-03-02 Thread Sinelnikov, Andrei
Hello Rodolfo, Make sure you set SRID while populating SQL: ... , [Geo] = GEOMETRY::STGeomFromText([import].[Geo], @SRID) ... Base on your map (WGS 84) your SRID should be something like 4326 Regards, Andrei -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:map

[mapguide-users] Polygon are not recorded in feature

2009-03-02 Thread Micho Gar
Hi all, I have a code that should save the polygons in the feature source after using the Digitize. In principle I do not give any error, but when reviewing the shp the polygon don´t appear. I leave with you the code because I don´t see anything bad. MgUserInformation userInfo = new MgUserInforma

[mapguide-users] Base64 encoding decoding scenarios

2009-03-02 Thread Warren Medernach
I'm working on decoding the UIDs passed in the selection XML, and I want to thank the group for all of the posts on decoding base 64 as I can successfully decode a UID now! However, when I attempt to decode a UID that is NOT made up a single integer field, I'm running into some problems: Sc

[mapguide-users] SQL 2008 Geographic data type can't be selected

2009-03-02 Thread Rodolfo Moreno
I have could select features from geometric data type (sql 2008 as data source) however, for the case of geographic data type the selection of the features is not possible. The error shown in the log is: "sys.geometry is incompatible with sys.geography" The map that contains this layer is set as W

Re: [mapguide-users] Silverlight/Moonlight Viewer

2009-03-02 Thread Kenneth Skovhede, GEOGRAF A/S
I have made a small step towards a Silverlight "viewer": A managed render, with a MapGuide provider: http://code.google.com/p/littlesharprenderengine/ If you run the project, it can render features from MapGuide, eg. the Sheboygan dataset. There are a lot of loose ends, such as scaleranges, lab

RE: [mapguide-users] Regarding -- Setting URL Link to Feature

2009-03-02 Thread ravinder.singh
Thanks Kenneth. Silly mistake I made. Thanks & Regards, Ravinder From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kenneth Skovhede, GEOGRAF A/S Sent: Monday, March 02, 2009 5:19 PM To: MapGuide User

Re: [mapguide-users] Regarding -- Setting URL Link to Feature

2009-03-02 Thread Kenneth Skovhede, GEOGRAF A/S
In the code below, you are missing a single quote: concat(http://localhost/mapguide/MyApplication/TestPage.aspx?FeatureID=', URLENCODE(FEATUREID())) should be: concat('http://localhost/mapguide/MyApplication/TestPage.aspx?FeatureID=', URLENCODE(FEATUREID())) Regards, Kenneth Skovhede, GEOGRAF

Re: [mapguide-users] MgRenderingService RenderMap problem

2009-03-02 Thread Kenneth Skovhede, GEOGRAF A/S
Looking at: http://mapguide.osgeo.net/files/mapguide/docs/webapi/de/dbd/class_mg_rendering_service_7767628fe456bfd90e9010a19ed83e04.html#7767628fe456bfd90e9010a19ed83e04 The most likely cause is that the bounds you supply are incorrect, eg. pointing to an area where there are no features. Other

RE: [mapguide-users] UpdateFeatures

2009-03-02 Thread Ivan Milicevic
I'm using SDF OSGeo provider. - OSGeo.SDF.3.3 OSGeo FDO Provider for SDF Read/write access to Autodesk's spatial database format, a file-based personal geodatabase that supports multiple features/attributes, spatial indexing, and file-locking. False 3.3.0.0 3.3.0.0 c:\Progra

[mapguide-users] Regarding -- Setting URL Link to Feature

2009-03-02 Thread ravinder.singh
Hi, I have set the Link to the feature in the Maestro to my layer , but when I run the viewer & ctrl+click the feature it opens a new window (as I set it to open in new window in layout) but the path it takes is wrong. I have set this in Link: concat(http://localhost/mapguide/MyApplication

Re: [mapguide-users] UpdateFeatures

2009-03-02 Thread Zac Spitzer
it's gonna take some one who knows C++ and the mapguide code base to do this.. out of interest which provider where you using? this should raise an exception right? 2009/3/2 Ivan Milicevic : > So, I'll wait till 2.1 release. > > Thanks a lot, I've spend a whole weekend to solve it but without ex

RE: [mapguide-users] UpdateFeatures

2009-03-02 Thread Ivan Milicevic
So, I'll wait till 2.1 release. Thanks a lot, I've spend a whole weekend to solve it but without exception or error code it's impossible. Thank's again. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Zac Spit

Re: [mapguide-users] UpdateFeatures

2009-03-02 Thread Zac Spitzer
hmm, these are both quite critical bugs IMHO... we are talking about potential dataloss here, should be a blocker for 2.1, I've updated the ticket for be high http://trac.osgeo.org/mapguide/ticket/649 z 2009/3/2 Ivan Milicevic : > Strange, i can get GetValue() but i can get name and it's "0".

RE: [mapguide-users] UpdateFeatures

2009-03-02 Thread Ivan Milicevic
Strange, i can get GetValue() but i can get name and it's "0". .GetItem(0).Name is "0" and GetItem(0).GetPropertyType() is "9" -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Zac Spitzer Sent: Monday, March

Re: [mapguide-users] UpdateFeatures

2009-03-02 Thread Zac Spitzer
same as result.GetItem(0).GetPropertyType() ? z 2009/3/2 Ivan Milicevic : > Value is 9 > > -Original Message- > From: mapguide-users-boun...@lists.osgeo.org > [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Zac Spitzer > Sent: Monday, March 02, 2009 11:46 AM > To: MapGuide U

RE: [mapguide-users] UpdateFeatures

2009-03-02 Thread Ivan Milicevic
Value is 9 -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Zac Spitzer Sent: Monday, March 02, 2009 11:46 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] UpdateFeatures what is the value of result

Re: [mapguide-users] UpdateFeatures

2009-03-02 Thread Zac Spitzer
what is the value of result.GetItem(0).GetValue() ? On Mon, Mar 2, 2009 at 4:46 PM, Ivan Milicevic wrote: > Hello Zac, hello group > > I'm havig the same problems as George has. Tried > result.GetItem(0).GetValue() and resoult is 9. Can you help me? I'm > really suffering to create this "easy to

[mapguide-users] FOSS4G 2009 One week extension to Workshops and Tutorial abstract submissions

2009-03-02 Thread mapbutcher
FOSS4G 2009 One week extension to Workshops and Tutorial abstract submissions Sydney, Australia. 2 March 2009. In response to requests from presenters, the deadline for the FOSS4G 2009 workshop and tutorial abstract submissions has been extended by one week, to Monday 9 March 2009. If you are cons

Re: [mapguide-users] MgRenderingService RenderMap problem

2009-03-02 Thread Satu
Hi, I need a little help, in the begining... Is this the right order to create a rendered map without a viewer? 1) Init Web API, 2) Open site, 3) Create resources: MgResourceService, MgRenderingService, MgMappingService, 4) Set the map library to MgResourceIdentifier, 5) Create map, with MgMap,