Re: [mapguide-users] mapguide_tile_seeder.html problems

2008-12-18 Thread Zac Spitzer
whats does alert(extent.getCenterLonLat()); shown? z On Fri, Dec 19, 2008 at 11:34 AM, Dave Wilson wrote: > I'm not a programmer per say, but I'm technical enough to break things > rather well J > > > > I'm trying to use the mapguide_tile_seeer.html in the context of MapGuide > Enterprise 2009.

Re: [mapguide-users] Plz help me with the SHP encoding problem...

2008-12-18 Thread KIRIN178
Thank you for your help. I've figured it out with your post. Grateful, KIIRN Kenneth Skovhede, GEOGRAF A/S wrote: > > Instead of loading the SHP file, try using the SHP file as a managed file, > or possibly add the .CPG file to the FeatureSource. > > More info here: > http://trac.osgeo.org/ma

[mapguide-users] mapguide_tile_seeder.html problems

2008-12-18 Thread Dave Wilson
I'm not a programmer per say, but I'm technical enough to break things rather well :) I'm trying to use the mapguide_tile_seeer.html in the context of MapGuide Enterprise 2009. I copied the script to my www folder (virtual directory root of my MapGuide site). I edited the reference to OpenLaye

Re: [mapguide-users] SDF convertion question

2008-12-18 Thread Jackie Ng
Try wrapping your connection string property in double quotes. - Jackie Moog wrote: > > > Hi Jackie, > i download FDO Toolbox, but i can't connect to my .txt file. > I've configured the odbc connection, but when i try to make a connection > with the driver it fails. > my original connection s

Re: [mapguide-users] Zoom To Selection

2008-12-18 Thread Nandorov
featureService.SelectFeatures(parcelId, "GEOM_TABLE", nameQuery); i think you should use layer class name instead of layer name featureService.SelectFeatures(parcelId, YourLayer.GetFeatureClassName(), nameQuery); padmini godavarthi wrote: > > > Hi, > Iam using Mapguide Opensource 2.0 (with

Re: [mapguide-users] SDF convertion question

2008-12-18 Thread Nandorov
Hi Jackie, i download FDO Toolbox, but i can't connect to my .txt file. I've configured the odbc connection, but when i try to make a connection with the driver it fails. my original connection string was Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=D:\Sample\txt;Extensions=asc,csv,tab,txt;

Re: [mapguide-users] External SHP file Refresh?

2008-12-18 Thread GordonL
Thanks, that did the trick! $OldResourceID = new MgResourceIdentifier('Library://BASEMAP/1_DATA/SHP.FeatureSource'); $resourceContent = $resourceSrvc->GetResourceContent($OldResourceID); $resourceHeader = $resourceSrvc->GetResourceHeader($OldResourceID); Now I can access the SHP file

[mapguide-users] Zoom To Selection

2008-12-18 Thread padmini godavarthi
Hi, Iam using Mapguide Opensource 2.0 (with .net 2.0 +IIS 5.1) I want to query the parcel_id and zoomed it on the map may code is NameValueCollection serverVars = Request.ServerVariables; String strServerVars = ""; foreach (String str in serverVars.AllKeys) {

Re: [mapguide-users] setting WMS

2008-12-18 Thread Kenneth Skovhede, GEOGRAF A/S
Yes, the OGC has the standard here: http://www.opengeospatial.org/standards/wms Regards, Kenneth Skovhede, GEOGRAF A/S Nisha P skrev: i hav just started to work with wms..so can u pls send me documents or link related to this?? thanx On Thu, Dec 18, 2008 at 2:42 PM, Kenneth Skovhede

Re: [mapguide-users] setting WMS

2008-12-18 Thread Nisha P
i hav just started to work with wms..so can u pls send me documents or link related to this?? thanx On Thu, Dec 18, 2008 at 2:42 PM, Kenneth Skovhede, GEOGRAF A/S < k...@geograf.dk> wrote: > As Zac notes, there are two ways to use WMS. > Either as a consumer (that is, display WMS data fr

[mapguide-users] Feature Reader Problem

2008-12-18 Thread padmini godavarthi
Hi, Iam using Mapguide Opensource 2.0 (with .net 2.0 +IIS 5.1) I want to query the parcel_id and zoomed it on the map may code is NameValueCollection serverVars = Request.ServerVariables; String strServerVars = ""; foreach (String str in serverVars.AllKeys) {

Re: [mapguide-users] setting WMS

2008-12-18 Thread Kenneth Skovhede, GEOGRAF A/S
As Zac notes, there are two ways to use WMS. Either as a consumer (that is, display WMS data from somewhere else). In this case you can use MapGuide to view WMS data, and possibly put your own data on top. This model is also known as: MapGuide is a WMS client. The other way is as a producer. Th

Re: [mapguide-users] mapguide 2.0 rasters

2008-12-18 Thread Kenneth Skovhede, GEOGRAF A/S
The error comes because you are trying to load rasters with Studio. That feature only works with MapGuide Enterprise. As noted by Zac, you must use the Gdal provider. You can find some info here: http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/RasterFeatureSource The steps are roughly the

Re: [mapguide-users] mapguide 2.0 rasters

2008-12-18 Thread Zac Spitzer
alas, MGOS 1.2 had problems as well with GDAL as well... mapserver is a fine product, I don't have any personal experience with it tho... you can always use gdal2tiles and open layers, just depends on what client interface you want to use z On Thu, Dec 18, 2008 at 7:42 PM, keithlegg wrote: >

Re: [mapguide-users] mapguide 2.0 rasters

2008-12-18 Thread keithlegg
Thank you for the response. one other dumb question. I dont care what software I use,I just want to get rasters on the internet . I am assuming MGOS 1.0 does fully support raster. Should i try that instead? I am also aware of mapserver , would that be a better option? I realize this is a MAPGUIDE

Re: [mapguide-users] External SHP file Refresh?

2008-12-18 Thread Zac Spitzer
just be aware that will clear any associated tile caches which reference that feature source! On Thu, Dec 18, 2008 at 7:19 PM, Kenneth Skovhede, GEOGRAF A/S wrote: > I actually ran into the same problem yesterday. > I have not tried to find the explanation, but it seems that some of the > data (E

Re: [mapguide-users] External SHP file Refresh?

2008-12-18 Thread Kenneth Skovhede, GEOGRAF A/S
I actually ran into the same problem yesterday. I have not tried to find the explanation, but it seems that some of the data (Enumerate Schemas?) is cached. The data prewiew shows correct results, but an updated file does not show the correct columns in the layer editor. The fix is to just open t

Re: [mapguide-users] Problem opening a webLayout with predefined selection

2008-12-18 Thread Kenneth Skovhede, GEOGRAF A/S
Yes, I understand. Forget my ramblings :). Regards, Kenneth Skovhede, GEOGRAF A/S Bruno Scott skrev: The "CreateSession" is allways called with or without my patch The check for existing items is always empty excepts if i call the mapviewerajax with an existing session. Bruno __

Re: [mapguide-users] setting WMS

2008-12-18 Thread Zac Spitzer
then how about asking specific questions rather than nebulous ones? there is a WMS FDO provider which can consume WMS and you can expose mapguide layers as WMS using either via studio or maestro what's your question(s)? z On Thu, Dec 18, 2008 at 6:58 PM, Nisha P wrote: > i hav search the ma