Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Jsm
Ok found the problem, Here are the new numbers for now, I will let Jmeter run for a few hours and send more results. summary-raster.xls On Sat, Mar 28, 2009 at 4:42 PM, Jsm wrote: > > Well in the jmx file it is set to continue on error, but when you mean > profile are we talking about the

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Zac Spitzer
i know that one! change these lines in bin\jmeter.bat set HEAP=-Xms256m -Xmx512m set NEW=-XX:NewSize=128m -XX:MaxNewSize=512m set PERM=-XX:PermSize=128m -XX:MaxPermSize=128m z On Sat, Mar 28, 2009 at 5:22 PM, Jsm wrote: > > I used the hostname to connect, because Jmeter is running on my machin

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Jsm
I used the hostname to connect, because Jmeter is running on my machine (windows xp) and the web extensions and server are on another machine (windows 2003). I just patched the tcpip.sys limit (or "feature") and Jmeter still stops after a while, I know it has nothing to do with mapguide becaus

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Zac Spitzer
On Sat, Mar 28, 2009 at 4:42 PM, Jsm wrote: > > Well in the jmx file it is set to continue on error, but when you mean > profile are we talking about the same thing ? (jmx file) yep thats what i meant > On another note I saw this in my event viewer (jmeter on winxp, server is on > another mach

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Jsm
Well in the jmx file it is set to continue on error, but when you mean profile are we talking about the same thing ? (jmx file) On another note I saw this in my event viewer (jmeter on winxp, server is on another machine win2k3): TCP/IP Has Reached the Security Limit Imposed on the Number of C

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Jsm
Yes There's an xls file with the stats, before and after. And also the jmx file I used, I don't know how to use Jmeter much doh, I don't understand why at somepoint it stops even when I choose loop forever, but I know it's not mapguide, as I can still access it. summary-old-raster.xls Summary

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Zac Spitzer
you don't have stop on error set in your jmeter profile? On Sat, Mar 28, 2009 at 4:07 PM, Jsm wrote: > > Yes > > There's an xls file with the stats, before and after. And also the jmx file I > used, I don't know how to use Jmeter much doh, I don't understand why at > somepoint it stops even whe

[mapguide-users] MgCurvePolygon help

2009-03-27 Thread Jsm
Hi, I am trying to make a donut (a circle with a circle cut out in it). I am following this example: http://mapguide.osgeo.org/files/mapguide/docs/webapi/d6/dca/class_mg_curve_polygon.htm I have spent too much time trying this and I just cant figure out what is wrong... No error is thrown, b

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Zac Spitzer
do you have have perf stats out of your jmeter tests, ie before and after? there are some concerns that the patch will affect other things the good news is most of these patches are already committed to the trunk and will be there for 2.1 z On Sat, Mar 28, 2009 at 3:12 PM, Jsm wrote: > > Hi, >

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Jsm
Hi, I have installed these dlls and mapguide passed my jmeter test, it did not crash at all. I will install this on my client's server on monday, he is having trouble right now because his site is (semi)public and mapguide is currently restarted *atleast* once per day. Is there anyway I can

Re: [mapguide-users] Unique Identify for Feature

2009-03-27 Thread Jsm
Oups, I made a mistake, I meant this : $featureSourceId = new MgResourceIdentifier('Session:' . $Session . '//mysdf.FeatureSource'); $featureReader = $featureService->SelectFeatures($featureSourceId, 'ClassName', null); //I think $featureSourceId->GetName() wor

Re: [mapguide-users] Unique Identify for Feature

2009-03-27 Thread Jsm
Hi, Usually every feature in an sdf should have an id that you could get like this : (after connecting etc...) $featureSourceId = new MgResourceIdentifier('Session:' . $Session . '//mysdf.FeatureSource'); $featureReader = $featureService->SelectFeatures($featu

RE: [mapguide-users] Help with joining tables please

2009-03-27 Thread Darren Karasiuk
After some more playing, I find that if my View has only ONE table, being the same as the native table, I can select the lat/lon columns. However, as soons as I add a second table to the View, I lose the ability to select lat/lon columns. Only INT columns are selectable and the rest are Keys. Is

[mapguide-users] configuring php IDE and mgos php API

2009-03-27 Thread alucas
Hello, What IDE for develop with the mgos php api would you recomend? Can I configure some PHP IDE to have API autocompletion like MGOS JAVA API/eclipse or ASP.NET API/vs? Currently, I'm using ultraedit for develop applications with the PHP but It would be great to have some autocomplete help.

RE: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Andy Morsell
Agreed, this one problem has been a deal-breaker for more than one customer of mine. I'm really hoping that raster and server stability in the future release will finally result in a production capable application. Thanks to the developers that are investing the time and effort into this particul

RE: [mapguide-users] MapGuide Markup app and MgDeleteFeatures

2009-03-27 Thread Warren Medernach
Thanks Andy, That's actually how I had it coded originally. I then saw a sample from AU I believe, that separated out the MgDeleteFeatures call, so I was trying that... Still no go, but now I see that it is happening intermittently on the original app as well? I have some digging to do.

RE: [mapguide-users] 8-bit Raster displaying as 1-bit Bitonal image

2009-03-27 Thread Jason Birch
Heh... not so famous. I'm not aware of any other way of obtaining the image information. FWTools works just fine on Vista 64 (that's what I'm running it on). You'll have to map the drive that has your image on it, and then visit it via the FWTools command line. Oh, and super-secret FWTools h

RE: [mapguide-users] REST services for mapguide

2009-03-27 Thread shreepadr
thanks jason for update . i have been using the king fdo for long time , this is going to be another great development by him thanks shreepad Hi Shreepad, Unfortunately, Haris' free time to work on the REST extension has instead been spent troubleshooting stability problems with rasters i

RE: [mapguide-users] 8-bit Raster displaying as 1-bit Bitonal image

2009-03-27 Thread Yuriko
"The" Jason Birch of GIS Blog fame!?! Thanks so much for replying. I am new to Mapguide and am working with MG Enterprise 2009. I understand that FWTools is an opensource stack of GIS tools and that GDALinfo is a tool specific to reading/writing spatial data, but I don't know if I have acce

RE: [mapguide-users] REST services for mapguide

2009-03-27 Thread Jason Birch
Hi Shreepad, Unfortunately, Haris' free time to work on the REST extension has instead been spent troubleshooting stability problems with rasters in MapGuide for one of his clients. Hopefully once this stuff gets resolved, he'll be able to get back onto the REST project and have something avai

RE: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread djonio
Andy, et. al. I have not tested extensively but between Haris' 8.7 release and the fixes to MgServerMappingService and MgStylization things are looking up for MGOS 2.0.2!! This guy may actually be usable for doing some real applications. We will invest some effort once again ... thank you and

Re: [mapguide-users] New User - Help

2009-03-27 Thread Anders Persson
Can see you if the MapGuide service is running? Does this error only occur when you are trying to load shp-files? Have you tried different shp-files? Anders Hi there, I have the Mapguide 2.0 configured using apache 2.2 and running MapGuide Studio 9, I am trying a load procedure, loading

RE: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Andy Morsell
So far so good for me as well. I just migrated my demo server from one machine to another. Win 2000 / IIS5 to Win 2003 / IIS6 and MGOS 2.0.2. I saw the exact same instability with rasters on the new machine as I had with the old and actually watched it seize up this morning while people were acc

RE: [mapguide-users] 8-bit Raster displaying as 1-bit Bitonal image

2009-03-27 Thread Jason Birch
Can you run gdalinfo from the FWTools utility package on that image and report back what it says? Jason -Original Message- From: Yuriko Sent: March-27-09 11:25 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] 8-bit Raster displaying as 1-bit Bitonal image I have an 8-bit

[mapguide-users] 8-bit Raster displaying as 1-bit Bitonal image

2009-03-27 Thread Yuriko
Hello, I have an 8-bit tiff that is recognized as a bitonal image in Mapguide. It displays correctly in ArcMap as a raster with 10 values, but in MG it's only black or white. Any ideas as to what the issue is? Many thanks in advance! Yuri -- View this message in context: http://n2.nabble.

RE: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Peter Filip
I replaced those two dll's and troubles are gone! I did some testing from 2 computers at the same time for 10 minutes and everything worked so far perfect. Thank you guys! If anyone is interested in trying out some .dlls that improve the stability of rasters in 2.0.2 considerably, download

[mapguide-users] REST services for mapguide

2009-03-27 Thread shreepadr
All I was reading the Jason’s blog and found out about “Restful” services coming up in MapGuide. This is so cool. I cannot wait to see that been implemented soon, I developed both on MGE and ArcGIS Server and having the rest ful services with MapGuide would help a lot. Is there any way I can t

RE: [mapguide-users] MapGuide Markup app and MgDeleteFeatures

2009-03-27 Thread Andy Morsell
Try this: MgFeatureCommandCollection commands = new MgFeatureCommandCollection(); commands.Add(new MgDeleteFeatures("Markup", "ID = " + ID)); featureService.UpdateFeatures(featureSourceId, commands, false); Andy Morsell, P.E. Spatial Integrators, Inc. www.SpatialGIS.com From: mapguide-user

[mapguide-users] MapGuide Markup app and MgDeleteFeatures

2009-03-27 Thread Warren Medernach
Hello all, I am trying to port some of the GT Markup app to code-behind aspx classes. When I do this, the Delete Markup Feature functionality is not functioning from code behind? The only changes I made to the code that was working in the original markup app are: I'm calling a function to

[mapguide-users] Unique Identify for Feature

2009-03-27 Thread KeithC
I need to find a way to get unique ids for features so that I can store these unique ids and use them to link to other things (Urls etc). Presumably I can use MgClassDefinition::GetIdentityProperties to find which properties to interrogate. What are these Identity Properties for an SDF say? Wil

RE: [mapguide-users] Help with joining tables please

2009-03-27 Thread Darren Karasiuk
Well, I created a view with only the native table selected and I cannot choose the lat/lon column. Those columns are still considered keys. You’re right Dave, doesn’t make much sense to have a Float as a key. Any other ways to join tables? Two methods so far don’t work for me. Darren __

Re: [mapguide-users] Modify mapdefinition in a layout

2009-03-27 Thread euskalmap
Sorry, number line 65 Hi, Effectifly i have send bad tests. Sorry !! You can see the new files here : http://patxi.mayol.free.fr/test_before.xml and http://patxi.mayol.free.fr/test_after.xml So I do another test in my aspx file : http://patxi.mayol.free.fr/sample4.asp With defaultUser="Anon

Re: [mapguide-users] Modify mapdefinition in a layout

2009-03-27 Thread euskalmap
Hi, Effectifly i have send bad tests. Sorry !! You can see the new files here : http://patxi.mayol.free.fr/test_before.xml and http://patxi.mayol.free.fr/test_after.xml So I do another test in my aspx file : http://patxi.mayol.free.fr/sample4.asp With defaultUser="Anonymous" and defaultPassw

[mapguide-users] Data Join issue

2009-03-27 Thread leekn23
I want to connect some data from a excel file to one of the layer. When I tried to join data - I use the edit extension function in the layer's data - I lost some data. But when I go the the excel data and use the edit extension function its all there (I tried all the join type, I use Autodesk

RE: [mapguide-users] Tooltip value from object

2009-03-27 Thread Dave Wilson
After some testing here it looks like a bug with the ODBC provider in general. I think there may be 2 defects here. 1) I'm getting a server error about the geometry property not being found when previewing the geometry. 2) I'm seeing the null computed values like you are when previewing the data

RE: [mapguide-users] Mapguide 2.0.2: error fusion

2009-03-27 Thread Anders Persson
I suppose you are having problem with preview a map template? I have onced experienced the same thing. I solved the problem when I made a package of my map and then upgraded Fusion, and reloaded the package. Another thing you could try is completely uninstalling mapguide open source, delete all

RE: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Haris Kurtagic
Doesn't crash out because general exception is eventually caught. But server stays in bad shape together with threads and connection pool. In general problem is in MapGuide connection pool manager. Problem is also in provider, but I believe because it didn't working properly with such connection

Re: [mapguide-users] Modify mapdefinition in a layout

2009-03-27 Thread Kenneth Skovhede, GEOGRAF A/S
Not sure why, but both of those files have the UTF-8 BOM header :(. Regards, Kenneth Skovhede, GEOGRAF A/S euskalmap skrev: Hi, Yes, the browser can read the xml file : i have generate 2 files : one just after reading the doc ( http://patxi.mayol.free.fr/test_before.xml ) and another one af

RE: [mapguide-users] Tooltip value from object

2009-03-27 Thread Matteo
Hi Dave, in this morning I have add a computed property (I have used this expression: "Concat ( 'Nome Sito: ' , Concat ( NOME_SITO , Concat ( '\nCodice Sito: ' , Concat ( SITENUMBER , Concat ( '\nSrambling Code: ' , SCRAMBLING_CODE ) ) ) ) )" ) from Studio . I have edit my

Re: [mapguide-users] FDO Gdal raster problem

2009-03-27 Thread Zac Spitzer
out of interest, why doesn't the service crash out rather than get stuck a general question really? z On Fri, Mar 27, 2009 at 5:38 PM, Jason Birch wrote: > I'm afraid that this isn't fixed in 2.1 yet either. > > Haris is working on trying to figure this stuff out for one of his customers, > an