Re: [mapguide-users] MapGuide as WMS server - high CPU usage, poor performance

2015-11-19 Thread Kori Maleski
Have you tweaked your serverconfig.ini?

Under FeatureServiceProperties, increase Pool and/or Cache sizes.

.




On Thu, Nov 19, 2015 at 4:38 AM, Fritz Robert  wrote:

> Hi,
>
>
>
> Anyone using MGOS or AIMS as WMS server?
>
> Any experience with regards to performance?
>
>
>
> Rob
>
>
>
> *Von:* mapguide-users [mailto:mapguide-users-boun...@lists.osgeo.org] *Im
> Auftrag von *Fritz Robert
> *Gesendet:* Dienstag, 17. November 2015 16:48
> *An:* mapguide-users@lists.osgeo.org
> *Betreff:* [mapguide-users] MapGuide as WMS server - high CPU usage, poor
> performance
>
>
>
> Hi,
>
>
>
> MapGuide (AIMS 2013) runs as WMS server. Whenever I have a getmap request
> the cpu usage of the server goes through the roof. CPU runs at nearly 100%
> for a few seconds. When I display the same layers in a plain map with Basic
> Weblayout the cpu usage is below 30% and only for a second or so.
> Performance of WMS is therefore really poor.
>
>
>
> The data is in epsg 21781 and the wms is puplished with epsg 21871 as
> well. My wms client requests the layers in epsg 21781 – so I don’t think
> MapGuide does any transformation. But why is CPU usage so high? Anyone else
> running MapGuide as WMS server?
>
>
>
> I have already switch data source from Oracle to SDF but to no avail.
>
>
>
> Rob
>
>
>
>
>
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] PostgreSQL SelectFeatures

2015-11-18 Thread Kori Maleski
This PostgreSQL issue also occurs when previewing FeatureSources in Maestro
or AIMS Studio.

Schema and class display fine.

View Feature shows features in map fine.

View Data shows columns with no records.


An application with .Net mg-desktop has no issue here.  Just seems to be
something with PHP.

Possibly something with table structure in Postgres?  



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/PostgreSQL-SelectFeatures-tp5236983p5237243.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] PostgreSQL SelectFeatures

2015-11-18 Thread Kori Maleski
Argh.

It fails due to a column being blob/hexBinary.






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/PostgreSQL-SelectFeatures-tp5236983p5237262.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] PostgreSQL SelectFeatures

2015-11-18 Thread Kori Maleski
To get the Fusion buffer (or other widgets) to work with tables that contain
incompatible column data types (PostgreSQL  or any FDO FeatureSource for
that matter):

Modify Buffer.php so as to select compatible columns:

...

$featureClassName = $selLayer->GetFeatureClassName();
$filter = $sel->GenerateFilter($selLayer, $featureClassName);
if($filter == "")
continue;


$query = new MgFeatureQueryOptions();
$query->SetFilter($filter);

$classDef = $selLayer->GetClassDefinition();
$geomPropName = 
$classDef->GetDefaultGeometryPropertyName();
$propertyList = $classDef->GetProperties(); 

for($i=0; $i<$propertyList->GetCount(); $i++)
{   
$propertyDef = $propertyList->GetItem($i);
$property = 
$propertyList->GetItem($i)->GetName();


if(($property!=$geomPropName)&&($propertyDef->GetPropertyType()==100))
{
$propertyType = 
$propertyList->GetItem($i)->GetDataType();
switch ($propertyType) {
case MgPropertyType::Boolean :

$query->AddFeatureProperty($property);
break;
case MgPropertyType::Byte :

$query->AddFeatureProperty($property);
break;
case MgPropertyType::DateTime :

$query->AddFeatureProperty($property);
break;
case MgPropertyType::Single :

$query->AddFeatureProperty($property);
break;
case MgPropertyType::Double :

$query->AddFeatureProperty($property);
break;
case MgPropertyType::Int16 :

$query->AddFeatureProperty($property);
break;
case MgPropertyType::Int32 :

$query->AddFeatureProperty($property);
break;
case MgPropertyType::Int64 :

$query->AddFeatureProperty($property);
break;
case MgPropertyType::String :

$query->AddFeatureProperty($property);
break;
}   
}else if($property==$geomPropName){
$query->AddFeatureProperty($property);
}
}

$featureSource = new
MgResourceIdentifier($selLayer->GetFeatureSourceId());

$features = $featureSrvc->SelectFeatures($featureSource,
$featureClassName, $query);

if($features->ReadNext())

...


The same would have to be done in the Mapguide/Web/schemareport folder for
showclass.php as well as other instances where SelectFeatures is utilized.







--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/PostgreSQL-SelectFeatures-tp5236983p5237280.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] PostgreSQL SelectFeatures

2015-11-17 Thread Kori Maleski
I am having an issue selecting features stored in PostgreSQL.

MapGuide 2.5.2 and MapGuide 3.0

PHP showclass.php or buffer.php for example, will return the MgFeatureReader
with class definition etc, but without any features.

.NET  MgFeatureReader is returned fully populated with features.


Trying to use fusion (which defaults to php).

Anybody else have this issue?  Work around?


Kori Maleski




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/PostgreSQL-SelectFeatures-tp5236983.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] mg-desktop and GDAL Plugins

2015-01-15 Thread Kori Maleski
Hi all,

Trying to get MrSid to display in mg-desktop 2.5.2 

It is working no problem with MapGuide server as per below:

Server\bin\libecwj2.dll
Server\bin\lti_dsdk_dll.dll
Server\bin\gdalplugins\gdal_ECW_JP2ECW.dll
Server\bin\gdalplugins\gdal_MrSID.dll
Server\Fdo\gdal19.dll 
Server\Fdo\geos_c.dll
Server\Fdo\iconv.dll
Server\Fdo\libcurl.dll
Server\Fdo\libexpat.dll
Server\Fdo\libpq.dll
Server\Fdo\libtiff.dll
Server\Fdo\proj.dll
Server\Fdo\spatialite.dll
Server\Fdo\xerces-c_2_8.dll
Server\Fdo\zlib1.dll

Files from: 
http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-x64-gdal-1-9-0-mapserver-6-0-1.zip

mg-desktop directory structure does not use a bin folder and the bin files
on the server are in the root for desktop.

Is there anything special that has to be done to get the GDAL plugins
working for desktop?  I have tried different permutations of folder/dll
arrangement but I cannot get Mr Sid to display.

Cheers,

Kori Maleski






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mg-desktop-and-GDAL-Plugins-tp5181740.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] mg-desktop and GDAL Plugins

2015-01-15 Thread Kori Maleski
Thanks Jackie.  I will try using Process Monitor tomorrow to see if I can
get it working.


Cheers,

Kori Maleski

On Thu, Jan 15, 2015 at 4:28 PM, Jackie Ng jumpinjac...@gmail.com wrote:

 I got ECW working with custom GDAL for an mg-desktop application I made
 some
 time ago.

 I don't remember exactly what file went where, but I basically put my
 mg-desktop application under the scope of Process Monitor and just copy the
 required dlls into the paths where the application was looking for them.

 - Jackie



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/mg-desktop-and-GDAL-Plugins-tp5181740p5181770.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] WGS84.PseudoMercator and the Dateline

2014-12-23 Thread Kori Maleski
Hi all,

I am having issues with the display of polygons that are near the
international dateline in map definitions that are in the
WGS84.PseudoMercator projection.

Panning the map near 180W or 180E will cause some polygons not to display or
to wrap the world in reverse.

This occurs in Maestro, AIMS Studio, MG-Desktop and in a Fusion WebLayout.

Is there a setting or something that has to be done to have this work?

Is there a setting that allows wrap like OpenLayers?

Cheers and thanks,

Kori Maleski



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/WGS84-PseudoMercator-and-the-Dateline-tp5179042.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Bug in the 32 Bit Binaries for Mg-Desktop 2.5.2.7949

2014-03-13 Thread Kori Maleski
Jackie,


MgdPlatform.Initialize will throw an error - Cannot
find C:\ProgramData\Autodesk\Geospatial Coordinate Systems.

If I roll back to 2.5.1.7768 - everything is shiny.  64 Bit is fine.


Kori Maleski
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Kori Maleski
MapGuide 2.1.0.4283
SQL Server 2005
ODBC FDO 3.4


I can create a Feature from the Lat Long columns of a table under the dbo
schema, but if I use another schema the feature does not display in the map.


Anybody else encounter this?



Cheers,


Kori Maleski
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Kori Maleski
Thanks Warren!

So much for organizing by schema.  Can't wait to get to switch to MS SQL
2008 for spatial.


Cheers,


Kori Maleski

On Fri, Aug 13, 2010 at 3:50 PM, Warren Medernach wmedern...@gmail.comwrote:

 Hey Kori,
 While this isn't an 'identical' test, I just tested this in MGE 2011 and
 can confirm the same results.
 The points DO NOT display under a different schema.

 Warren M

 On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski kori.male...@gmail.comwrote:



 MapGuide 2.1.0.4283
 SQL Server 2005
 ODBC FDO 3.4


 I can create a Feature from the Lat Long columns of a table under the dbo
 schema, but if I use another schema the feature does not display in the map.


 Anybody else encounter this?



 Cheers,


 Kori Maleski


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Kori Maleski
The ODBC SQL login has the same rights, and the schemas are in the same
database.

The work around is to create a dbo.view of the other schema.table.



Cheers,

Kori Maleski


On Fri, Aug 13, 2010 at 4:33 PM, Dave Wilson dave.wil...@autodesk.comwrote:

  When you say it doesn't work under another schema does your ODBC login
 have rights to the other schema and some of the system tables? I'm not sure
 exactly what the rights need to be. This is a question for the FDO users
 list.



 I suspect it's a permissions issue.



 Dave



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Friday, August 13, 2010 3:57 PM
 *To:* MapGuide Users Mail List
 *Subject:* Re: [mapguide-users] Problem with ODBC and Point Feature
 Display via Lat Long



 Thanks Warren!

 So much for organizing by schema.  Can't wait to get to switch to MS SQL
 2008 for spatial.


 Cheers,


 Kori Maleski

 On Fri, Aug 13, 2010 at 3:50 PM, Warren Medernach wmedern...@gmail.com
 wrote:

 Hey Kori,

 While this isn't an 'identical' test, I just tested this in MGE 2011 and
 can confirm the same results.

 The points DO NOT display under a different schema.


 Warren M

 On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski kori.male...@gmail.com
 wrote:



 MapGuide 2.1.0.4283
 SQL Server 2005
 ODBC FDO 3.4


 I can create a Feature from the Lat Long columns of a table under the dbo
 schema, but if I use another schema the feature does not display in the map.


 Anybody else encounter this?



 Cheers,


 Kori Maleski

   ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users




 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Kori Maleski
Ahh...  If I set the SQL login to default to any other schema than dbo, then
ALL schemas will display features from Lat Long.

If it is defaulted to dbo, then only dbo will display.


Please correct me if anyone gets different results.


Cheers,

Kori Maleski





On Fri, Aug 13, 2010 at 4:51 PM, Kori Maleski kori.male...@gmail.comwrote:

 The ODBC SQL login has the same rights, and the schemas are in the same
 database.

 The work around is to create a dbo.view of the other schema.table.



 Cheers,

 Kori Maleski



 On Fri, Aug 13, 2010 at 4:33 PM, Dave Wilson dave.wil...@autodesk.comwrote:

  When you say it doesn't work under another schema does your ODBC login
 have rights to the other schema and some of the system tables? I'm not sure
 exactly what the rights need to be. This is a question for the FDO users
 list.



 I suspect it's a permissions issue.



 Dave



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Friday, August 13, 2010 3:57 PM
 *To:* MapGuide Users Mail List
 *Subject:* Re: [mapguide-users] Problem with ODBC and Point Feature
 Display via Lat Long



 Thanks Warren!

 So much for organizing by schema.  Can't wait to get to switch to MS SQL
 2008 for spatial.


 Cheers,


 Kori Maleski

 On Fri, Aug 13, 2010 at 3:50 PM, Warren Medernach wmedern...@gmail.com
 wrote:

 Hey Kori,

 While this isn't an 'identical' test, I just tested this in MGE 2011 and
 can confirm the same results.

 The points DO NOT display under a different schema.


 Warren M

 On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski kori.male...@gmail.com
 wrote:



 MapGuide 2.1.0.4283
 SQL Server 2005
 ODBC FDO 3.4


 I can create a Feature from the Lat Long columns of a table under the dbo
 schema, but if I use another schema the feature does not display in the map.


 Anybody else encounter this?



 Cheers,


 Kori Maleski

   ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users




 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: Does Mapguide 2.1 support Windows Server 2008 64 bits?

2010-04-16 Thread Kori Maleski
Jose,  I sympathize with your frustrations, but simply saying it doesn't
work - without providing information from the error logs or some kind of
detail about what 'doesn't work'  does not allow the community to help you.

I have MGOS 2.1 running on Windows 2008 64 bit with no issue.


Please outline in some detail the steps you took to do the install so that
the issue can be diagnosed.



Cheers,

Kori Maleski

On Thu, Apr 15, 2010 at 11:42 PM, Jose Cerrejon g...@mapas-sll.com wrote:


 I found this tutorial before this topic, but doesn't work. Anyway, I
 changed
 the OS to a Windows 2003 Server 32 bits.

 An updated tutorial will be apreciated.

 This is a fault in the Mapguide community (get a life with Google is not
 the
 solution)  the website. We need more tutorial, guides, howtos in a variety
 of languages.

 I present myself like a volunteer.

 PD: Thks to http://mapguide-central.ennoble.com.au/, but we need more.
 --
 View this message in context:
 http://n2.nabble.com/Does-Mapguide-2-1-support-Windows-Server-2008-64-bits-tp4906789p4911604.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Does Mapguide 2.1 support Windows Server 2008 64 bits?

2010-04-15 Thread Kori Maleski
Please Google or search the list in Nabble - there are pointers to this
topic:


http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7



Cheers,

Kori Maleski



On Thu, Apr 15, 2010 at 3:58 AM, Jose Cerrejon g...@mapas-sll.com wrote:


 My client have this Windows. In this forum the post reference Mapguide 2.0,
 and I don't know if 2.1 is 64 bits supported.

 In this case,.. does exists any tutorial to configure it?

 Note: I tried on IIS 7 the 32 bits compatibility layer to true, but doesn't
 work.
 --
 View this message in context:
 http://n2.nabble.com/Does-Mapguide-2-1-support-Windows-Server-2008-64-bits-tp4906789p4906789.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: who use which viewer API version?

2010-04-01 Thread Kori Maleski


We are using PHP on IIS7 with a modified Fusion Layout.  Basic look and
feel.  Needs more work in the beautification department.

Widgets use standard Fusion functionality as well as custom OpenLayers
functionality.

Google Maps Integrated along with Streetview complete with draggable marker.
Print support for most ANSI sizes.

http://n2.nabble.com/file/n4838989/MapGuideCustomInterface.png
MapGuideCustomInterface.png 
http://n2.nabble.com/file/n4838989/MapGuideCustomInterface2.png
MapGuideCustomInterface2.png 


Cheers,

Kori Maleski




-- 
View this message in context: 
http://n2.nabble.com/who-use-which-viewer-API-version-tp4736627p4838989.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: re: google mapintegration with mapguide

2010-03-31 Thread Kori Maleski
Insert the code fix right above the var options = { in the loadOverview
like so:


loadOverview: function(layer)
{
if (this.control) {
  this.control.destroy();
}

var size = $(this.domObj).getContentBoxSize();
this.oSize = new OpenLayers.Size(size.width, size.height);

if (!layer) {
layer = this.getMap().oMapOL.baseLayer.clone();
}
layer.isBaseLayer = true;
layer.ratio = 1.0;
if (layer.singleTile) {
  this.oMapOptions.numZoomLevels = 3;  //TODO: make this configurable?
}
this.mapObject.projection = this.getMap().oMapOL.getProjection()
this.mapObject.oLayerOL.projection = 
this.getMap().oMapOL.getProjection()
var options = {
  div: this.domObj,
  size: this.oSize,
  minRatio: this.nMinRatio,
  maxRatio: this.nMaxRatio,
  mapOptions: this.oMapOptions,
  layers: [layer]
};

this.control = new OpenLayers.Control.OverviewMap(options);
if (size.width == 0 || size.height == 0) {
  return;   //don't try to load if the container is not visible
} else {
  this.getMap().oMapOL.addControl(this.control);
  this.bDisplayed = true;
}
//console.log('OverviewMap mapLoaded');
},




Cheers,

Kori Maleski


On Tue, Mar 30, 2010 at 11:56 PM, Jose Cerrejon g...@mapas-sll.com wrote:


 I've tried the fix, but with the last SVN, doesn't works (03/31/2010). This
 is the code in the line 110:

 110 var options = {
 111  div: this.domObj,
 112  size: this.oSize,
 113  minRatio: this.nMinRatio,
 114  maxRatio: this.nMaxRatio,
 115  mapOptions: this.oMapOptions,
 116  layers: [layer]
 117};
 --
 View this message in context:
 http://n2.nabble.com/re-google-mapintegration-with-mapguide-tp3049773p4829338.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: re: google mapintegration with mapguide

2010-03-30 Thread Kori Maleski
To work around the Overview map projection issue do the following:
O
On line 110 of OverviewMap.js, add the following 2 lines:

this.mapObject.projection = this.getMap().oMapOL.getProjection()
this.mapObject.oLayerOL.projection =
this.getMap().oMapOL.getProjection()

This will alllow the overview to support whatever projection your main map
is in.


The overview map is only a single layer - the MapGuide layers being the
single layer.  It doesn't allow a MapGuide and Google layer at the same time
without some coding (someone correct me if I am off base).  I fiddled with
the code and got the Google layer in, but haven't got it working quite
properly.  Need more spare time.


Cheers,

Kori Maleski




On Tue, Mar 30, 2010 at 3:48 AM, Jose Cerrejon g...@mapas-sll.com wrote:


 I have the same issue now. Maybe is a bug in fussion.
 --
 View this message in context:
 http://n2.nabble.com/re-google-mapintegration-with-mapguide-tp3049773p4823732.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: re: google mapintegration with mapguide

2010-03-30 Thread Kori Maleski
Thanks Gordon,

Mark, I am stuck on a specific version of the trunk at the moment so I can't
upgrade yet - so I am stuck with the workaround for a bit.

Cheers,

Kori Maleski


On Tue, Mar 30, 2010 at 11:57 AM, GordonL gordon.luck...@arrowgeomatics.com
 wrote:


 Sweet fix Kori.  Works for MapGuide Enterprise 2010.
 --
 View this message in context:
 http://n2.nabble.com/re-google-mapintegration-with-mapguide-tp3049773p4826477.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Steps to query and zoom Mapguide layer on Fusion?

2010-03-24 Thread Kori Maleski
1)

From in the task pane:

parent.zoomToExtents(minx,miny,maxx,maxy)


In your template index.html:

zoomToExtents: function (minx,miny,maxx,maxy) {
var a = [];
a[0] = parseFloat(minx);
a[1] = parseFloat(miny);
a[2] = parseFloat(maxx);
a[3] = parseFloat(maxy);

var mapWidget = Fusion.getWidgetById('Map');
mapWidget.setExtents(new OpenLayers.Bounds(a[0], a[1], a[2],
a[3]));
}





2)

From in the task pane:

var mapWidget = parent.Fusion.getWidgetById('Map');
mapWidget.redraw();


3)

From in the task pane:

var mapWidget = parent.Fusion.getWidgetById('Map');
var mapOL = mapWidget.oMapOL;
var mgLayers = mapOL.getLayersByClass('OpenLayers.Layer.MapGuide');
var mapguideLayer = mgLayers[0]

mapguideLayer.clearSelection();
mapguideLayer.removeQueryLayer();
var mapDef = 'Library://mymap.MapDefinition'
mapguideLayer.loadMap(mapDef);

etc...


Cheers,

Kori Maleski

On Wed, Mar 24, 2010 at 5:43 AM, Jose Cerrejon g...@mapas-sll.com wrote:


 I goes crazy with this. Remember I'm newbie in the fascinating world of JS
 OOP.

 Questions:

 1) I've created a main.php inside taskpane (Fusion) without widget. Now I
 want to call any function to query a layer in mapguide (inside taskpane in
 Fusion) and zoomtoview. Any idea?

 2) What's the magic frame to call the Refresh() function inside
 MapguideViewer.js? (I'm calling from taskpane iframe) Tried windows.top,
 windows.parent,...

 3) Anybody can show me an example to make a call to any function in
 Mapguide.js?

 Thks to think.

 --
 View this message in context:
 http://n2.nabble.com/Steps-to-query-and-zoom-Mapguide-layer-on-Fusion-tp4790660p4790660.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: Zoom+select features problem

2010-03-23 Thread Kori Maleski
Please stop begging.

http://www.w3schools.com/JS/default.asp
http://devzone.zend.com/article/627
http://www.php.net/manual/en/index.php





On Sun, Mar 21, 2010 at 10:01 PM, padmini godavarthi 
godavarthi.padm...@gmail.com wrote:


  Hi,
 Thanq very much for your reply.it working fine now.
 but i want to zoom feature and selection feature in a single button click
 event based on the selection of parcel id from the dropdown list
 am new to  this php and
 javascript..

 plz help me...
 --
 View this message in context:
 http://n2.nabble.com/Zoom-select-features-problem-tp4708107p4776233.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] queries to a G Maps Layer with Fusion and MG

2010-03-16 Thread Kori Maleski
You will have to make a widget that utilizes the Ajax Search API (for
Google).

Have it return Lat/Long position as per Google documentation and then
execute a zoom to view function in javascript.

http://code.google.com/apis/ajaxsearch/

Then add a marker to the Google Layer.

var point = latlng;
var mgLayers = mapWidget.oMapOL.getLayersByClass('OpenLayers.Layer.Google');
mgLayers[0].mapObject.addOverlay(new GMarker(point));




Cheers,

Kori Maleski




On Tue, Mar 16, 2010 at 4:25 AM, Jose Cerrejon g...@mapas-sll.com wrote:


 I'm tried with success this
 http://trac.osgeo.org/fusion/wiki/MapGuideCommercialOverlays tutorial
  about
 Using MapGuide Overlays with Commercial Map Service Layers.

 I would like to know if I can make a widget to do queries to the Google
 Maps/Bing/Yahoo layer, or if it is a blind layer. For example, find streets
 (with the Maps API) and mark them with a push pin, ...

 Any example would be appreciated :)

 Thks in advanced!
 --
 View this message in context:
 http://n2.nabble.com/queries-to-a-G-Maps-Layer-with-Fusion-and-MG-tp4742997p4742997.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: Shape-Files and Joins

2010-02-23 Thread Kori Maleski
We are currently using shapefiles with joins with good results.

2 issues affect whether features display or not.

1 is geometry related - repair geometry in ArcMap
2 is the join field.  If the Shapefile ID is text, so must the SQL table.
If there are null IDs in the shapefile, the join may fail.

No error is thrown features just appear or disappear at different zoom
thresholds or all together.



Performance - turn caching on for the Shape FDO in the serverconfig.ini




Cheers,

Kori Maleski






On Tue, Feb 23, 2010 at 12:28 PM, isca mapguide2...@gmail.com wrote:


 Especially the performance makes the joins useless.
 --
 View this message in context:
 http://n2.nabble.com/Shape-Files-and-Joins-tp4611381p4621196.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] PHP Editor

2010-02-18 Thread Kori Maleski
Documentation:
http://php.net/index.php

Editor:
http://notepad-plus.sourceforge.net/uk/site.htm




On Wed, Feb 17, 2010 at 11:06 PM, padmini godavarthi 
godavarthi.padm...@gmail.com wrote:



  Hi
 i want to use mgos with 2.1 with php
 i dont know about php.How to develop coding in it..
 can u plz tell me which editor is better for creating php+mapguide
 applications usng oracle 10 g Express Edition?
 --
 View this message in context:
 http://n2.nabble.com/PHP-Editor-tp4590290p4590290.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Studio Load Procedure and Maestro File add with Shapefile gets a 404 not found

2010-02-11 Thread Kori Maleski
Thanks guys,

Nothing valuable in the logs.

I think live edits/load procedures on a MapGuide server that has cache
enabled for shapefiles is causing locking issues that a service restart
can't handle.

I need to do more testing and see what Fiddler shows.


Cheers,

Kori Maleski

On Wed, Feb 10, 2010 at 11:37 PM, Jason Birch ja...@jasonbirch.com wrote:

 Anything in the system log, webserver log, or virus scan log on the server?

 Anything odd about the filename?

 Once the packaged data is loaded, are there any problems accessing the
 schema description?

 Red herrings, free for the asking :)

 Jason

 On 9 February 2010 13:53, Kori Maleski kori.male...@gmail.com wrote:

 Has anybody encountered this scenario?

 Using either Maestro or Studio to load a Shapefile results in a 404 not
 found error.

 No issues with any other shapefiles with the same load procedure or Data
 resource setup from the exact same directory.

 I can package the data and load it in order to bypass.

 Stop/starting server has no effect.  There is caching enabled on
 shapefiles.  Is there possibly a lock?  Shapefile opens and geometry has
 been repaired in ArcMap, so I don't think it is data related.



 Cheers,

 Kori Maleski

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Studio Load Procedure and Maestro File add with Shapefile gets a 404 not found

2010-02-09 Thread Kori Maleski
Has anybody encountered this scenario?

Using either Maestro or Studio to load a Shapefile results in a 404 not
found error.

No issues with any other shapefiles with the same load procedure or Data
resource setup from the exact same directory.

I can package the data and load it in order to bypass.

Stop/starting server has no effect.  There is caching enabled on
shapefiles.  Is there possibly a lock?  Shapefile opens and geometry has
been repaired in ArcMap, so I don't think it is data related.



Cheers,

Kori Maleski
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Mg 2.1: does not show the tooltip on icons of toolbar

2010-01-22 Thread Kori Maleski
It is just in IE7  8.  Tooltips show in Firefox and Chrome.



On Fri, Oct 30, 2009 at 9:58 AM, alba a.penite...@gepaspa.com wrote:


 hi all,
 I use mapguide 2.1
 I noticed that the icons in the toolbar does not show the tooltip, as
 happened on version 2.0.2
 why?
 Can anybody help me?

 bye bye Alba
 --
 View this message in context:
 http://n2.nabble.com/Mg-2-1-does-not-show-the-tooltip-on-icons-of-toolbar-tp3920177p3920177.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] fusion user authentication in MGOS 2.1 final

2010-01-11 Thread Kori Maleski
I believe you have to patch the Fusion code:

http://trac.osgeo.org/fusion/attachment/ticket/300/fusion.patch

Which was referenced here:

http://trac.osgeo.org/mapguide/ticket/1021


I modified my javascript and no longer have an issue.

Cheers,


Kori Maleski



On Sun, Jan 10, 2010 at 7:58 PM, ary_s ary.suc...@yahoo.com wrote:




 Kori Maleski wrote:
 
  Refer to this trac:
 
  http://trac.osgeo.org/mapguide/ticket/1021
 
 
 
  Cheers,
 
  Kori Maleski
 
  On Fri, Jan 8, 2010 at 3:06 AM, ary_s ary.suc...@yahoo.com wrote:
 
 
  I installed MGOS 2.1 (not beta version) and fusion ask for the user
  authentication in IE 8. Anyone has experience the same case?
  --
  View this message in context:
 
 http://n2.nabble.com/fusion-user-authentication-in-MGOS-2-1-final-tp4271459p4271459.html
  Sent from the MapGuide Users mailing list archive at Nabble.com.
  ___
  mapguide-users mailing list
  mapguide-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 
  ___
  mapguide-users mailing list
  mapguide-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 


 I did pass sessionid to the url but mg still asking for the user name and
 password.. the same code worked with mgos beta 2.1 but no longer work in
 2.1
 final. Seem to me that iam experience this case alone..
 thx
 --
 View this message in context:
 http://n2.nabble.com/fusion-user-authentication-in-MGOS-2-1-final-tp4271459p4283579.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] fusion user authentication in MGOS 2.1 final

2010-01-08 Thread Kori Maleski
Refer to this trac:

http://trac.osgeo.org/mapguide/ticket/1021



Cheers,

Kori Maleski

On Fri, Jan 8, 2010 at 3:06 AM, ary_s ary.suc...@yahoo.com wrote:


 I installed MGOS 2.1 (not beta version) and fusion ask for the user
 authentication in IE 8. Anyone has experience the same case?
 --
 View this message in context:
 http://n2.nabble.com/fusion-user-authentication-in-MGOS-2-1-final-tp4271459p4271459.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Should I give up?

2009-12-07 Thread Kori Maleski
Neil,

Don't give up.  Just invest sometime researching.


DWG files are converted either by what is called a Load Procedure in
MapGuide Studio or by an export from Autocad Map.

WMS Data connections simply require the WMS server URL.  This URL is
provided by the vendor you are accessing.  When creating a Layer from that
data connection, it will list available WMS features.

Raster connections will depend on whether you are you use the Autodesk
provider or the GDAL.  For the GDAL, simply set the default raster location
to a folder that can be accessed by the Mapguide Service.  When creating a
Layer from that data connection, it will list available raster features.
You must specify the projection (spatial context) of the imagery, so that it
can be displayed properly.  Depending on the MapGuide version, you may have
to have the map in the same projection as the imagery for it to display.
Depending on the version, the preview for the imagery may fail, but will be
viewable in the final map.

Fusion is installed automatically with Mapguide.  It comes with several
default layouts.  You can edit with Maestro.  Some customization requires
programming knowledge.

Please read through the manuals provided at the OSGEO Mapguide site:

http://mapguide.osgeo.org/sites/mapguide.osgeo.org/files/MgOpenSourceDevGuide.pdf

Also refer to:

http://mapguide-central.ennoble.com.au/

Use nabble to scour the posts for relevant info:

http://n2.nabble.com/MapGuide-Open-Source-f1803226.html



Cheers,

Kori Maleski



On Mon, Dec 7, 2009 at 12:53 PM, Neil_w nwil...@sec-landmgt.com wrote:


 Not having any experience with web based mapping I am finding it very
 difficult to make headway with Mapguide due to the lack of any consolidated
 sources for help. I have spent hours searching through forum posts trying
 to
 find answers to questions with little success.

 I need help with the following topics:

 Can I display DWG files with MapguideOS?
 (From what I read, I need to convert them to some other format)

 How do I connect to WMS services? (So far I have been able to connect but
 when I save the connection as a resource I get errors and I can't display
 anything. I haven't found a forum post to clearly outline the steps to
 connect and siplay a map form a WMS).

 How do I display raster images? (I can connect to TIF images but they don't
 display. Also I get only BW color options. Again I haven't found an clear
 outline of steps to dislpay a raster).

 What is Fusion and do I need it or can I get by with Maestro? (A web search
 on Fusion gives hits on all kids of programiming stuff and I don't know if
 it applies. Searches on the forum brings lots of technical stuff but little
 helps me to understand if I need it).

 I know there are probably answers to all these questions and more but it is
 taking days to search and sift through all the irrelevant information. If I
 can't find a coherent source for help I'll have to give up on Mapguide,
 much
 as I would hate to, as I can see it would be such a great tool for our
 office.

 Can I have some encouragement here?
 --
 View this message in context:
 http://n2.nabble.com/Should-I-give-up-tp4128103p4128103.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Should I give up?

2009-12-07 Thread Kori Maleski
Neil,

You may want to look into attending a training session offered by Mapguide
oriented vendors/consultants.  They may be able to provide the training and
tutorial material you are looking for.

Some examples in your area(s):

http://www.spatialgis.com/services.html
http://www.cadsoft-consult.com/



Cheers,

Kori Maleski





On Mon, Dec 7, 2009 at 2:20 PM, Neil_w nwil...@sec-landmgt.com wrote:


 I appreciate the encouragement but I have spent lots of time researching.
 That is why I am getting discouraged. For all the time I have invested I
 have made little progress. Without a step by step instuction guide for
 creating maps it is more a trial and error process to get anywhere, with
 long diversions to help forums seeking guidance when things don't wok.

 I looked at the Mapguide guide for developers link you posted. Without
 delving into it in detail it appears to be oriented to developing maps
 using
 programming, which I am not able to do. I am limited to Maestro or some
 other authoring software that does not require programming. That is why I
 was interested in Fusion but I don't yet understand whether it would help
 me
 author maps without programming. From one post it appeared that it could
 load DWG files without converting them. If I have to go through a
 conversion
 process to load a every DWG then Mapguide is probably not a good solution
 for us and I won't want to put a lot of time into it. Again I need guidance
 on this.

 As I mentioned, I was able to connect to a couple of WMS services but I
 could not figure out how to display any layers from them. Saving the
 resource resulted in errors. I didn't know what they mean which lead to
 another excursion to the forum. When I try to create a layer from the
 connected WMS, there is no geometry for them available, so nothing
 displays.

 We really could use a step by step guide for building maps, not just a
 sample map with no guide on what the various components are. It took me a
 while to figure out what the .ASP, .JSP. and .php layouts were. I had to
 figure out on my own how to use a Flexible layout and add a query widget.
 Again, no instruction whatsoever.

 If anyone can direct me to some step by step guides or tutorials it might
 get me back in the saddle.

 --
 View this message in context:
 http://n2.nabble.com/Should-I-give-up-tp4128103p4128554.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Help with the Tooltip

2009-11-23 Thread Kori Maleski
If you are using a Fusion Web Layout, you can make changes to the MapTip css
file to control the display:

C:\Program Files\OSGeo\MapGuide\Web\www\fusion\widgets\Maptip\Maptip.css

And/or you may override them with your layouts own css.


Cheers,


Kori Maleski



On Mon, Nov 23, 2009 at 12:28 PM, Gustavo Ribeiro 
gustavo.dias.ribe...@gmail.com wrote:


 Does anyone know how to centralize a pop-up in MapGuide? My pop-up is
 cutting. http://centroautodesk.ctallen.com.br/tooltip2.jpg

 I'm use the concat:
 concat(concat('iframe src=

 http://www.portal.intragov.rj.gov.br/gespi_educacao/mapas/escola.aspx?escola=
 ',
 Descricao), '  frameborder=0 width=650px height=140px
 /iframe')
 http://n2.nabble.com/file/n4053306/tooltip2.jpg



 --
 View this message in context:
 http://n2.nabble.com/Help-with-the-Tooltip-tp4053306p4053306.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Virtual Earth and Firefox with FUSION?

2009-10-12 Thread Kori Maleski
Paul,


I can get an error free load of Virtual Earth in Fusion with the following
edits to jxlib.uncompressed.js

approximately line 10241 (makeChrome function):

if(!c.getStyle('backgroundImage'))
c.setStyle('backgroundImage','none');


approximately line 17397 (measure function):

if(!this.scroller.getStyle('left'))
this.scroller.setStyle('left',0);


The application will load but the chrome will fail to display properly for
Jx.Dialog's.  The background images will fail (obviously, as they are now
set to 'none' with the edit.


Hope this helps in some way to indicate where the issue resides.  At least
those of us developing in Firefox can move forward for now.



Cheers,

Kori Maleski





On Fri, Oct 9, 2009 at 4:48 PM, Kori Maleski kori.male...@gmail.com wrote:

 Paul,

 I am using Firefox 3.5.3 with firebug and get the exact same error at the
 same point.  Like you said it works fine if you step through, but fails with
 a normal load.

 I will poke around further on Monday.


 Cheers,


 Kori

 On Thu, Oct 8, 2009 at 5:29 PM, Paul Spencer pagam...@gmail.com wrote:

 When I run this in firefox 3.5.2 on OS X it fails to load and I see a
 javascript error in firebug

 this.scroller.getStyle('left') has no properties

 If I turn on 'Break on all errors' in firebug and reload, I get a number
 of exceptions that can be safely continued from (they are in try/catch
 blocks but firefox stops on them anyway) and, strangely, everything
 eventually loads and works.

 Very strange.  This behaviour is normally the opposite, firefox works and
 the other browsers don't.

 I don't really know what to think about this.  Not sure if it is due to
 being in an iframe, a timing issue loading the ms maps api or something else

 Can you try with firebug and see if you get the same thing (with break on
 all errors on)

 Cheers

 Paul



 On 2009-10-08, at 8:13 PM, GordonL wrote:


 No Kori, I never did find a solution.  I am running it at
 http://www.mapguide.ca/sydney/ but I can't get it work in FireFox (just
 Safari and Internet Explorer)

 gordon


 Kori Maleski wrote:


 Hi Gordon,

 Did you find a work around or determine what the issue was?  I am using
 the
 SVN trunk version and hit the same snag.



 Cheers,


 Kori Maleski



 On Tue, Aug 11, 2009 at 11:47 AM, GordonL
 gordon.luck...@arrowgeomatics.com

 wrote:



 Hi All, I have a strange issue.  For some reason the Virtual Earth
 OpenLayers
 overlay only seems to work with Internet Explorer (Windows) and Safari
 (Windows and MacBook Pro), but no Firefox (any OS).

 I am not sure what the issue is, but I checked out the openlayers demo
 (http://openlayers.org/dev/examples/spherical-mercator.html) and the
 OpenLayers seemed to handle Virtual Earth and Firefox nicely..so I
 think
 it
 might be how FUSION is implemented the OpenLayers (I am using the Full
 openlayers.js file too).

 And:

 script
 src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1
 '/script


 Oh and the code to add the VE Layer in the INDEX.htm


  var mapWidget = Fusion.getWidgetById('Map');
  var map = mapWidget.oMapOL;
  mapWidget.fractionalZoom = false;
  map.setOptions({fractionalZoom: false, numZoomLevels: 30});

 //Create Virtual Earth - Live Maps example
  velayer = new OpenLayers.Layer.VirtualEarth('VE', {
  'sphericalMercator': true,
  'type': VEMapStyle.Road
  });
  map.addLayer(velayer);


  var mgLayers = map.getLayersByClass('OpenLayers.Layer.MapGuide');
  if(mgLayers.length != 0)
  {
  var mgLayer = mgLayers[0];
  if(mgLayer.isBaseLayer)
  {
  map.setBaseLayer(velayer);
  mgLayer.setIsBaseLayer(false);
  mgLayer.setVisibility(true);
  }
  }




 See what I mean by using Firefox at:
 http://mapguide.ca/sydney/ http://mapguide.ca/sydney/

 regards
 gordon

 --
 View this message in context:

 http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION--tp3426002p3426002.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 --
 View this message in context:
 http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION-tp3426002p3791581.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http

Re: [mapguide-users] Virtual Earth and Firefox with FUSION?

2009-10-08 Thread Kori Maleski
Stepping through right now.

I will follow up tomorrow.


Thanks Paul,


Cheers,

Kori Maleski

On Thu, Oct 8, 2009 at 5:29 PM, Paul Spencer pagam...@gmail.com wrote:

 When I run this in firefox 3.5.2 on OS X it fails to load and I see a
 javascript error in firebug

 this.scroller.getStyle('left') has no properties

 If I turn on 'Break on all errors' in firebug and reload, I get a number of
 exceptions that can be safely continued from (they are in try/catch blocks
 but firefox stops on them anyway) and, strangely, everything eventually
 loads and works.

 Very strange.  This behaviour is normally the opposite, firefox works and
 the other browsers don't.

 I don't really know what to think about this.  Not sure if it is due to
 being in an iframe, a timing issue loading the ms maps api or something else

 Can you try with firebug and see if you get the same thing (with break on
 all errors on)

 Cheers

 Paul



 On 2009-10-08, at 8:13 PM, GordonL wrote:


 No Kori, I never did find a solution.  I am running it at
 http://www.mapguide.ca/sydney/ but I can't get it work in FireFox (just
 Safari and Internet Explorer)

 gordon


 Kori Maleski wrote:


 Hi Gordon,

 Did you find a work around or determine what the issue was?  I am using
 the
 SVN trunk version and hit the same snag.



 Cheers,


 Kori Maleski



 On Tue, Aug 11, 2009 at 11:47 AM, GordonL
 gordon.luck...@arrowgeomatics.com

 wrote:



 Hi All, I have a strange issue.  For some reason the Virtual Earth
 OpenLayers
 overlay only seems to work with Internet Explorer (Windows) and Safari
 (Windows and MacBook Pro), but no Firefox (any OS).

 I am not sure what the issue is, but I checked out the openlayers demo
 (http://openlayers.org/dev/examples/spherical-mercator.html) and the
 OpenLayers seemed to handle Virtual Earth and Firefox nicely..so I think
 it
 might be how FUSION is implemented the OpenLayers (I am using the Full
 openlayers.js file too).

 And:

 script
 src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1
 '/script


 Oh and the code to add the VE Layer in the INDEX.htm


  var mapWidget = Fusion.getWidgetById('Map');
  var map = mapWidget.oMapOL;
  mapWidget.fractionalZoom = false;
  map.setOptions({fractionalZoom: false, numZoomLevels: 30});

 //Create Virtual Earth - Live Maps example
  velayer = new OpenLayers.Layer.VirtualEarth('VE', {
  'sphericalMercator': true,
  'type': VEMapStyle.Road
  });
  map.addLayer(velayer);


  var mgLayers = map.getLayersByClass('OpenLayers.Layer.MapGuide');
  if(mgLayers.length != 0)
  {
  var mgLayer = mgLayers[0];
  if(mgLayer.isBaseLayer)
  {
  map.setBaseLayer(velayer);
  mgLayer.setIsBaseLayer(false);
  mgLayer.setVisibility(true);
  }
  }




 See what I mean by using Firefox at:
 http://mapguide.ca/sydney/ http://mapguide.ca/sydney/

 regards
 gordon

 --
 View this message in context:

 http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION--tp3426002p3426002.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 --
 View this message in context:
 http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION-tp3426002p3791581.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Missing tiles

2009-06-25 Thread Kori Maleski
Empty tiles - will be the same file size and be much smaller than other
tiles since they are of a single color.

You can manually delete these from the cache and let MapGuide automatically
rebuild them on demand.


Cheers,



On Thu, Jun 25, 2009 at 8:15 AM, Dave Wilson dave.wil...@autodesk.comwrote:

 If one area of the map consistently fails at different scale ranges could
 there be some bad data involved? If you manually preview the Map or the
 Layout can you generate the tile?

 Dave

 -Original Message-
 From: mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] On Behalf Of Joel Carranza
 Sent: Thursday, June 25, 2009 9:04 AM
 To: mapguide-users@lists.osgeo.org
 Subject: Re: [mapguide-users] Missing tiles


 If you can figure out what the tile is, you can either manually delete it
 from the file system or via the mapagent. Then retry rendering the tile.
 Other than that, sorry, I got no idea...


 Peter Filip wrote:
 
 
 
  Joel Carranza wrote:
 
  Check your error log on the server. If a tile fails to render because of
  whatever reason, it still creates a tile
 
  See RFC 64 - http://trac.osgeo.org/mapguide/wiki/MapGuideRfc64
 
  Currently an exception thrown during the stylization code for a tile is
  caught and ignored. This can lead to partially incomplete tiles which
 are
  hard to detect as no error information is passed via the API. Even worse
  the tile is kept in the tilecache!
 
  --joel
 
 
  Peter Filip wrote:
 
  I have created a tiled layer using Maestro MgCooker. Everything was
  processed flawlessly.
  But after loading the tiled layer in the ajaxviewer there are some
  missing tiles.I have opened the page from different computers with the
  same result. I also re-generated the whole layer but with no
  success.This hole in the layer dont occurs in all scales, just in
  some, but at the same place.
 
  Here is a preview
 
 
 
 
 
 
  There's no log entry. Is there any workaround ?? I'm using MGOS 2.0.2.
 

 --
 View this message in context:
 http://n2.nabble.com/Missing-tiles-tp3149760p3155581.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] finally

2009-05-20 Thread Kori Maleski
I think we encountered this as well.  

 

I set up a mirrored server for multi-user data management access and then
push the library package off hours to the production server which is used
for viewing.  This allowed us to utilize the caching for performance on
production.  The crashes stopped completely.

 

Couldn't figure it out for the first while.

 

Kori Maleski

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Haris Kurtagic
Sent: May-19-09 4:59 AM
To: MapGuide Users Mail List
Cc: fdo-us...@lists.osgeo.org
Subject: [mapguide-users] finally

 

Finally we found what was causing MapGuide server to crash while reading
data from MapGuide.

It took us lot of energy and time.

 

Problem will appear in multiuser environment with concurent access when you
are using provider which is per command threaded or sharing (caching) FDO
schema accross multiple connections.

 

Issue is in function:
MgServerGetFeatures::SerializeToXml(FdoClassDefinition* classDef) which will
in order to serialize class to xml remove that class from schema, put it to
temporary schema serialize and return class to original schema. While doing
this if another thread goes to execute, problem starts.

 

Workaround is to set provider to per connection threaded or not cache schema
at all, and both comes with perfomance penalties.

 

I think that few things are important in this case beside the obvious issue.
One of them is missing constant pointers in FDO API. Schema returned from
provider shouldn't be allowed to be changed by fdo clients. That is
something were problems appeared already.

Also, I think that serialization using XML is not right way to go. XML we
could use to serialize data to end-user not for internal MG processes.

 

Haris

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Issue with Gdal DefaultRasterFileLocation with UNC path

2009-05-14 Thread Kori Maleski
Hi all,

I am running MapGuide 2.0.2 with the service running under a domain account.

The account has full control over a file server directory containing raster
imagery in Sid format.  The imagery is in LL84.


When configuring a raster data connection with the Gdal FDO I am having
issues with applying coordinate system overrides when the files reside on a
file server and are being accessed via UNC path.

When I reference the file locally - i.e.  c:\myfiledirectory\myfile.sid,  I
can override the coordinate system with no issues in both Studio and
Maestro.  Map display is perfect.

When I use a UNC path - i.e.
\\myserver\myfiledirectory\myfile.sidfile://myserver/myfiledirectory/myfile.sid,
and
try to use the override by refreshing to see the default spatial context I
get the following error:

In studio:  A popup windows error :


The exception unknown software exception (0xc409) occurred in the
application at location 0x00ea0a66

In the event viewer:


Out of process application '/LM/W3SVC/1/ROOT/mapguide/mapagent' terminated
unexpectedly.

Maestro displays no error.

But after an attempt or two in either application, the service is
unresponsive and W3SVC and mgserver services have to be restarted.


Has anyone run into this issue before?


Cheers,

Kori Maleski
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: SPAM-LOW: [mapguide-users] Issue with Gdal DefaultRasterFileLocation with UNC path

2009-05-14 Thread Kori Maleski
If I use a mapped drive, no error occurs - but it fails to read the files
coordinate system and simply defaults to XY Arbitrary.  Fails to display as
a layer with a resource not found in the error log.

The login account has full control on the share.

I should note that this worked  with 2.0.1.



Cheers,


Kori Maleski





On Thu, May 14, 2009 at 1:26 PM, Dave Wilson dave.wil...@autodesk.comwrote:

  Mapped drives generally don’t work. Is your MapGuide server running with
 a login that has permissions on the network share? Running the service with
 the default System account will not work.



 Dave



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Andy Morsell
 *Sent:* Thursday, May 14, 2009 1:34 PM
 *To:* 'MapGuide Users Mail List'
 *Subject:* RE: SPAM-LOW: [mapguide-users] Issue with Gdal
 DefaultRasterFileLocation with UNC path



 What if you use a drive letter mapping instead of a UNC?



 Andy Morsell, P.E.

 Spatial Integrators, Inc.

 www.SpatialGIS.com http://www.spatialgis.com/



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Thursday, May 14, 2009 11:56 AM
 *To:* MapGuide Users Mail List
 *Subject:* SPAM-LOW: [mapguide-users] Issue with Gdal
 DefaultRasterFileLocation with UNC path





 Hi all,



 I am running MapGuide 2.0.2 with the service running under a domain
 account.



 The account has full control over a file server directory containing raster
 imagery in Sid format.  The imagery is in LL84.





 When configuring a raster data connection with the Gdal FDO I am having
 issues with applying coordinate system overrides when the files reside on a
 file server and are being accessed via UNC path.



 When I reference the file locally - i.e.  c:\myfiledirectory\myfile.sid,  I
 can override the coordinate system with no issues in both Studio and
 Maestro.  Map display is perfect.



 When I use a UNC path - i.e. \\myserver\myfiledirectory\myfile.sid, and
 try to use the override by refreshing to see the default spatial context I
 get the following error:



 In studio:  A popup windows error :



 The exception unknown software exception (0xc409) occurred in the
 application at location 0x00ea0a66



 In the event viewer:



 Out of process application '/LM/W3SVC/1/ROOT/mapguide/mapagent' terminated
 unexpectedly.



 Maestro displays no error.



 But after an attempt or two in either application, the service is
 unresponsive and W3SVC and mgserver services have to be restarted.





 Has anyone run into this issue before?





 Cheers,



 Kori Maleski



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: SPAM-LOW: [mapguide-users] Issue with Gdal DefaultRasterFileLocation with UNC path

2009-05-14 Thread Kori Maleski
These are tiny 20MB raster images.

For our larger imagery we have a Lizardtech Image Server.

We just need a network share since our production/development servers are
not an exact mirror and need to use the same source files in some cases.


Cheers,

Kori Maleski



On Thu, May 14, 2009 at 1:45 PM, Martin Morrison
martin.morri...@edsi.comwrote:

  My concern over this whole issue is speed.  You need your data as close
 and as fast as possible.  Reading raster over a network connection is not an
 optimal way to access the data.



 Martin



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Dave Wilson
 *Sent:* Thursday, May 14, 2009 4:27 PM

 *To:* MapGuide Users Mail List
 *Subject:* RE: SPAM-LOW: [mapguide-users] Issue with Gdal
 DefaultRasterFileLocation with UNC path



 Mapped drives generally don’t work. Is your MapGuide server running with a
 login that has permissions on the network share? Running the service with
 the default System account will not work.



 Dave



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Andy Morsell
 *Sent:* Thursday, May 14, 2009 1:34 PM
 *To:* 'MapGuide Users Mail List'
 *Subject:* RE: SPAM-LOW: [mapguide-users] Issue with Gdal
 DefaultRasterFileLocation with UNC path



 What if you use a drive letter mapping instead of a UNC?



 Andy Morsell, P.E.

 Spatial Integrators, Inc.

 www.SpatialGIS.com http://www.spatialgis.com/



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Thursday, May 14, 2009 11:56 AM
 *To:* MapGuide Users Mail List
 *Subject:* SPAM-LOW: [mapguide-users] Issue with Gdal
 DefaultRasterFileLocation with UNC path





 Hi all,



 I am running MapGuide 2.0.2 with the service running under a domain
 account.



 The account has full control over a file server directory containing raster
 imagery in Sid format.  The imagery is in LL84.





 When configuring a raster data connection with the Gdal FDO I am having
 issues with applying coordinate system overrides when the files reside on a
 file server and are being accessed via UNC path.



 When I reference the file locally - i.e.  c:\myfiledirectory\myfile.sid,  I
 can override the coordinate system with no issues in both Studio and
 Maestro.  Map display is perfect.



 When I use a UNC path - i.e. \\myserver\myfiledirectory\myfile.sid, and
 try to use the override by refreshing to see the default spatial context I
 get the following error:



 In studio:  A popup windows error :



 The exception unknown software exception (0xc409) occurred in the
 application at location 0x00ea0a66



 In the event viewer:



 Out of process application '/LM/W3SVC/1/ROOT/mapguide/mapagent' terminated
 unexpectedly.



 Maestro displays no error.



 But after an attempt or two in either application, the service is
 unresponsive and W3SVC and mgserver services have to be restarted.





 Has anyone run into this issue before?





 Cheers,



 Kori Maleski



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] re; Google and mapguide scales

2009-04-20 Thread Kori Maleski
Google Maps scales differ depending on latitude.

Here is a javascript example to roughly gauge the approximate scale based on
the Google Zoom Factor:
i.e. Google Zoom factor of 1 would be approximately 1:20480


switch(this.map.getZoom())
  {
  case 1:
sScale = 204 800 000
fScale = 20480

break;
  case 2:
sScale = 102 400 000
fScale = 10240

break;
  case 3:
sScale = 51 200 000
fScale = 5120

break;
  case 4:
sScale = 25 600 000
fScale = 2560

break;
  case 5:
sScale = 12 800 000
fScale = 1280
mousefactor = 0;
break;
  case 6:
sScale = 6 400 000
fScale = 640

break;
  case 7:
sScale = 3 200 000
fScale = 320

break;
  case 8:
sScale = 1 600 000
fScale = 160

break;
  case 9:
sScale = 800 000
fScale = 80

break;
  case 10:
sScale = 400 000
fScale = 40

break;
  case 11:
sScale = 200 000
fScale = 20

break;
  case 12:
sScale = 100 000
fScale = 10

break;
  case 13:
sScale = 50 000
fScale = 5
break;
  case 14:
sScale = 25 000
fScale = 25000

break;
  case 15:
sScale = 12 500
fScale = 12500

break;
  case 16:
sScale = 6 250
fScale = 6250

break;
  case 17:
sScale = 3 125
fScale = 3125
break;



  }



Again this is just for a rough approximation.  MapGuide Maestro's MgCooker
can generate or seed tiles.



Cheers,






On Sun, Apr 19, 2009 at 11:13 AM, girish kumar bv
girish...@rediffmail.comwrote:

 Hi,

 Can anyone help me out in relating mapguide scales with those of google
 maps scale.

 Is it possible to generate tiles automatically for all scale ranges in
 mapguide studio, in our apps we are suppose to generate tiles from the
 composed  thematic map .

 Is there an apps to generate tiles from thematic layer of mapguide studio
 corresponding to google map scales.

 Any help is appreciated.

 regards,
 girish


 http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline@middle?
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Unable to select polygon?!?

2009-03-31 Thread Kori Maleski
Ivan,

When I view the Polygons in Autocad Map - there is a an issue with the left
polygon:

It is not 'closed' properly.  When you select the right polygon it is
entirely highlighted.  When you select the left polygon, the left boundary
segement does not highlight (since it is not there).

You may have to add the starting coordinate to close it:

coords.Add(geometryFactory.CreateCoordinateXY(x - 50, y + 50));
coords.Add(geometryFactory.CreateCoordinateXY(x + 50, y + 50));
coords.Add(geometryFactory.CreateCoordinateXY(x + 50, y - 50));
coords.Add(geometryFactory.CreateCoordinateXY(x - 50, y - 50));
coords.Add(geometryFactory.CreateCoordinateXY(x - 50, y + 50));

Cheers,


2009/3/31 Ivan Milicevic ivan.milice...@supranet.hr

  Hello,



 I have strange problem :)



 -2 polygon features in SDF file (left and right) -I can not select left
 feature -I can select right feature



 In Map 3D 2010 everything looks ok. In FDO Tools, SDF looks just fine. The
 difference between those features is that left one is created from web code
 and right one is created from Map 3D.



 Any idea?



 The link below is link to sdf file:

 http://www.supranet.hr/downloads/sdf.zip



 and down there is code that I used to create polygon:



 ...main function..

 {

 //adding coord to MgCoordinateCollection

 coords.Add(geometryFactory.CreateCoordinateXY(x - 50, y + 50));

 coords.Add(geometryFactory.CreateCoordinateXY(x + 50, y + 50));

 coords.Add(geometryFactory.CreateCoordinateXY(x + 50, y - 50));

 coords.Add(geometryFactory.CreateCoordinateXY(x - 50, y - 50));



 //creating polygon

 MgPolygon polyObjekt = createPolygon();

 byteReader = agfReaderWriter.Write(polyObjekt);



 //defining properties in MgPropertyCollection

 fillProperties(id, napomena, naziv, oznaka, 1, byteReader);



 //inserting in SDF

 insertOnMap();

 }



 public MgPolygon createPolygon()

 {

 MgLinearRing mgRing = geometryFactory.CreateLinearRing(coords);

 MgLinearRingCollection mgRingCollection = new MgLinearRingCollection();

 mgRingCollection.Add(mgRing);



 MgPolygon mgPoly = geometryFactory.CreatePolygon(mgRing, null);

 return mgPoly;

 }



 public void fillProperties(Int32 ID, string napomena, string naziv, string
 oznaka, Int32 vrstaObjekta, MgByteReader bReader)

 {

 properties.Clear();

 properties.Add(new MgInt32Property(ID, ID));

 properties.Add(new MgStringProperty(NAPOMENA, napomena));

 properties.Add(new MgStringProperty(NAZIV, naziv));

 properties.Add(new MgStringProperty(OZNAKA, oznaka));

 properties.Add(new MgInt32Property(VRSTAOBJEKTA, vrstaObjekta));

 properties.Add(new MgGeometryProperty(Geom, bReader));

 }



 public void insertOnMap()

 {

 MgSiteConnection siteConnection = null;

 MgUserInformation userInfo = new MgUserInformation(mgSessionId);

 siteConnection = new MgSiteConnection();

 siteConnection.Open(userInfo);

 MgResourceService resourceService =
 siteConnection.CreateService(MgServiceType.ResourceService) as
 MgResourceService;

 MgFeatureService featureService =
 siteConnection.CreateService(MgServiceType.FeatureService) as
 MgFeatureService;

 MgResourceIdentifier resId = new
 MgResourceIdentifier(Library://PROJEKTI/ZLZ/PODACI/OBJEKTI.FeatureSource);

 MgFeatureCommandCollection commands = new MgFeatureCommandCollection();

 string layerClassName = OBJEKTI;

 MgInsertFeatures mgInsert = new MgInsertFeatures(layerClassName,
 properties);

 commands.Add(mgInsert);

 featureService.UpdateFeatures(resId, commands, false);

 }





 *Ivan Miličević*

 *voditelj odjela razvoja*



 *SUPRA NET d.o.o.
 **Majstorska 5, 1 Zagreb
 CROATIA

 Mobile: +385 (0)91 434-3940
 Office: +385 (0)1 434-3940
 Fax: +385 (0)1 434-3999
 Email: ivan.milice...@supranet.hr*

 *URL: www.supranet.hr*



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Polygons and Intersection Problem

2009-01-15 Thread Kori Maleski
Hi All,

Intersection problem:

I have an application performs a query on a polygon layer with a point -
using intersection with the spatialfilter.

The problem is this:

The polygon originated from a shapefile - loaded as SDF via studio.
The single polygon feature originally was 2 distinct polygons dissolved
together via ArcMap.

The intersection works only on one of the polygons, and fails to return a
feature reader at all when within the other polygon.

This fails in both code execution and as a GeFeatureInfo WMS request in the
same manner.

Has anyone encountered this?
Has anyone worked around?

Is it better to explode the feature?  I require the geometery from each part
to do a highlight.

Is there an issue with how a shapefile multipolygon is converted to SDF?
Or is this an isse with the SelectFeatures functionality?



Cheers,


Kori Maleski




$geometryFactory = new MgGeometryFactory();

// create a coordinate
$coordinate = $geometryFactory-CreateCoordinateXY($x,$y);

// create a point
$point = $geometryFactory-CreatePoint($coordinate);

 $queryOptions = new MgFeatureQueryOptions();
 
$queryOptions-SetSpatialFilter('Geometry',$point,MgFeatureSpatialOperations::Intersects);


 $layerResource = new MgResourceIdentifier($layerdefinition);
 $layer = new MgLayer($layerResource, $resourceService);


 $layerClassName = $layer-GetFeatureClassName();

 $layerFeatureId = $layer-GetFeatureSourceId();
$layerFeatureResource = new MgResourceIdentifier($layerFeatureId);
$layerId = $layer-GetObjectId();

 $featureReader =
$featureService-SelectFeatures($layerFeatureResource,$layerClassName,$queryOptions);
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Polygons and Intersection Problem

2009-01-15 Thread Kori Maleski
In the studio preview, it fails as well.

Using the select tool, clicking on one polygon will highlight/select the
entirety, while clicking on the other will yield no highlight/select.


Cheers,

Kori Maleski




On Thu, Jan 15, 2009 at 10:16 AM, Kori Maleski kori.male...@gmail.comwrote:

 Mark,

 I have attached a shapefile with one of the polygons in question.  The
 spatialfilter fails on any dissolve multipolygon like this one.

 Again, I converted it to sdf via a load procedure.


 Cheers,
 Kori Maleski



   On Thu, Jan 15, 2009 at 10:08 AM, Mark Pendergraft ma...@meadgilman.com
  wrote:

Could you upload your SDF file with the 2 polygons?

 -Mark P.



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Thursday, January 15, 2009 9:03 AM
 *To:* MapGuide Users Mail List
 *Subject:* [mapguide-users] Polygons and Intersection Problem





 Hi All,



 Intersection problem:



 I have an application performs a query on a polygon layer with a point -
 using intersection with the spatialfilter.



 The problem is this:



 The polygon originated from a shapefile - loaded as SDF via studio.

 The single polygon feature originally was 2 distinct polygons dissolved
 together via ArcMap.



 The intersection works only on one of the polygons, and fails to return a
 feature reader at all when within the other polygon.



 This fails in both code execution and as a GeFeatureInfo WMS request in
 the same manner.



 Has anyone encountered this?

 Has anyone worked around?



 Is it better to explode the feature?  I require the geometery from each
 part to do a highlight.



 Is there an issue with how a shapefile multipolygon is converted to SDF?

 Or is this an isse with the SelectFeatures functionality?







 Cheers,





 Kori Maleski









 $geometryFactory = new MgGeometryFactory();

 // create a coordinate
 $coordinate = $geometryFactory-CreateCoordinateXY($x,$y);

 // create a point
 $point = $geometryFactory-CreatePoint($coordinate);

  $queryOptions = new MgFeatureQueryOptions();

  
 $queryOptions-SetSpatialFilter('Geometry',$point,MgFeatureSpatialOperations::Intersects);


  $layerResource = new MgResourceIdentifier($layerdefinition);
  $layer = new MgLayer($layerResource, $resourceService);


  $layerClassName = $layer-GetFeatureClassName();

  $layerFeatureId = $layer-GetFeatureSourceId();
 $layerFeatureResource = new MgResourceIdentifier($layerFeatureId);
 $layerId = $layer-GetObjectId();

  $featureReader =
 $featureService-SelectFeatures($layerFeatureResource,$layerClassName,$queryOptions);










 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Polygons and Intersection Problem

2009-01-15 Thread Kori Maleski
Thanks Mark,

That clarifies what I am seeing.

GetGeometryType() only yields MgPolygon instead of MgMultiPolygon, so it is
the conversion to SDF where the Shapefile geometry is lost/changed.

The Repair Geometry in ArcMap was already completed and does not affect nor
remedy the issue.


To workaround the issue (in SDF format):

I have to explode the Polygon into 2 Pieces.
Then I have to do a spatial filter to retrieve the common ID.
Then requery to get both of the desired geometries.


I will test my application to see if utilizing the shape file without
converting behaves properly with my code and the WMS.


Cheers and thanks,


Kori Maleski




On Thu, Jan 15, 2009 at 11:35 AM, Mark Pendergraft ma...@meadgilman.comwrote:

  I queried the feature programmatically (as a SDF) and tried to assign it
 to a mgMultiPolygon and it didn't fly.  It did work as a mgPolygon though.

 So, the problem seems to be that the geometry is being stored as a polygon
 instead of a multipolygon.  I have features in my map that aren't connected
 and I'm able to select them with no problem, but they are multipolygons.
 This must have something to do with the conversion process in ArcMap or in
 MapGuide Studio.  I don't have ArcMap so I can't comment on what is going on
 in that arena.  Your guess is as good as mine on whether this is an ArcMap
 issue or a MapGuide Studio issue.



 However, if you load the data as a SHP file (uncheck convert to SDF in
 MapGuide Studio) and then view the layer in Studio, you can select either
 side.  So perhaps the solution is to just use the SHP file in your map
 instead of converting it to SDF.



 Hope that helps

 -Mark Pendergraft



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Thursday, January 15, 2009 9:41 AM
 *To:* MapGuide Users Mail List
 *Subject:* Re: [mapguide-users] Polygons and Intersection Problem



 In the studio preview, it fails as well.



 Using the select tool, clicking on one polygon will highlight/select the
 entirety, while clicking on the other will yield no highlight/select.





 Cheers,



 Kori Maleski







 On Thu, Jan 15, 2009 at 10:16 AM, Kori Maleski kori.male...@gmail.com
 wrote:

 Mark,



 I have attached a shapefile with one of the polygons in question.  The
 spatialfilter fails on any dissolve multipolygon like this one.



 Again, I converted it to sdf via a load procedure.





 Cheers,

 Kori Maleski






 On Thu, Jan 15, 2009 at 10:08 AM, Mark Pendergraft ma...@meadgilman.com
 wrote:

   Could you upload your SDF file with the 2 polygons?

 -Mark P.



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Thursday, January 15, 2009 9:03 AM
 *To:* MapGuide Users Mail List
 *Subject:* [mapguide-users] Polygons and Intersection Problem





 Hi All,



 Intersection problem:



 I have an application performs a query on a polygon layer with a point -
 using intersection with the spatialfilter.



 The problem is this:



 The polygon originated from a shapefile - loaded as SDF via studio.

 The single polygon feature originally was 2 distinct polygons dissolved
 together via ArcMap.



 The intersection works only on one of the polygons, and fails to return a
 feature reader at all when within the other polygon.



 This fails in both code execution and as a GeFeatureInfo WMS request in the
 same manner.



 Has anyone encountered this?

 Has anyone worked around?



 Is it better to explode the feature?  I require the geometery from each
 part to do a highlight.



 Is there an issue with how a shapefile multipolygon is converted to SDF?

 Or is this an isse with the SelectFeatures functionality?







 Cheers,





 Kori Maleski









 $geometryFactory = new MgGeometryFactory();

 // create a coordinate
 $coordinate = $geometryFactory-CreateCoordinateXY($x,$y);

 // create a point
 $point = $geometryFactory-CreatePoint($coordinate);

  $queryOptions = new MgFeatureQueryOptions();

  
 $queryOptions-SetSpatialFilter('Geometry',$point,MgFeatureSpatialOperations::Intersects);


  $layerResource = new MgResourceIdentifier($layerdefinition);
  $layer = new MgLayer($layerResource, $resourceService);


  $layerClassName = $layer-GetFeatureClassName();

  $layerFeatureId = $layer-GetFeatureSourceId();
 $layerFeatureResource = new MgResourceIdentifier($layerFeatureId);
 $layerId = $layer-GetObjectId();

  $featureReader =
 $featureService-SelectFeatures($layerFeatureResource,$layerClassName,$queryOptions);












 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users





 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Polygons and Intersection Problem

2009-01-15 Thread Kori Maleski
If the polygons are loaded as a Shapefile without the SDF conversion, the
spatialfilter query will work on both polygons and the GetFeatureInfo WMS
call will work as well.

The spatialfilter returns a MgPolygon where the first polygon is the
ExteriorRing and the second is the InteriorRing.


So this scenario will work fine without converting to SDF.


Cheers,


Kori Maleski







On Thu, Jan 15, 2009 at 11:51 AM, Kori Maleski kori.male...@gmail.comwrote:

 Thanks Mark,

 That clarifies what I am seeing.

 GetGeometryType() only yields MgPolygon instead of MgMultiPolygon, so it is
 the conversion to SDF where the Shapefile geometry is lost/changed.

 The Repair Geometry in ArcMap was already completed and does not affect nor
 remedy the issue.


 To workaround the issue (in SDF format):

 I have to explode the Polygon into 2 Pieces.
 Then I have to do a spatial filter to retrieve the common ID.
 Then requery to get both of the desired geometries.


 I will test my application to see if utilizing the shape file without
 converting behaves properly with my code and the WMS.


 Cheers and thanks,


 Kori Maleski




 On Thu, Jan 15, 2009 at 11:35 AM, Mark Pendergraft 
 ma...@meadgilman.comwrote:

  I queried the feature programmatically (as a SDF) and tried to assign it
 to a mgMultiPolygon and it didn't fly.  It did work as a mgPolygon though.

 So, the problem seems to be that the geometry is being stored as a polygon
 instead of a multipolygon.  I have features in my map that aren't connected
 and I'm able to select them with no problem, but they are multipolygons.
 This must have something to do with the conversion process in ArcMap or in
 MapGuide Studio.  I don't have ArcMap so I can't comment on what is going on
 in that arena.  Your guess is as good as mine on whether this is an ArcMap
 issue or a MapGuide Studio issue.



 However, if you load the data as a SHP file (uncheck convert to SDF in
 MapGuide Studio) and then view the layer in Studio, you can select either
 side.  So perhaps the solution is to just use the SHP file in your map
 instead of converting it to SDF.



 Hope that helps

 -Mark Pendergraft



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Thursday, January 15, 2009 9:41 AM
 *To:* MapGuide Users Mail List
 *Subject:* Re: [mapguide-users] Polygons and Intersection Problem



 In the studio preview, it fails as well.



 Using the select tool, clicking on one polygon will highlight/select the
 entirety, while clicking on the other will yield no highlight/select.





 Cheers,



 Kori Maleski







 On Thu, Jan 15, 2009 at 10:16 AM, Kori Maleski kori.male...@gmail.com
 wrote:

 Mark,



 I have attached a shapefile with one of the polygons in question.  The
 spatialfilter fails on any dissolve multipolygon like this one.



 Again, I converted it to sdf via a load procedure.





 Cheers,

 Kori Maleski






 On Thu, Jan 15, 2009 at 10:08 AM, Mark Pendergraft ma...@meadgilman.com
 wrote:

   Could you upload your SDF file with the 2 polygons?

 -Mark P.



 *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
 mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
 *Sent:* Thursday, January 15, 2009 9:03 AM
 *To:* MapGuide Users Mail List
 *Subject:* [mapguide-users] Polygons and Intersection Problem





 Hi All,



 Intersection problem:



 I have an application performs a query on a polygon layer with a point -
 using intersection with the spatialfilter.



 The problem is this:



 The polygon originated from a shapefile - loaded as SDF via studio.

 The single polygon feature originally was 2 distinct polygons dissolved
 together via ArcMap.



 The intersection works only on one of the polygons, and fails to return a
 feature reader at all when within the other polygon.



 This fails in both code execution and as a GeFeatureInfo WMS request in
 the same manner.



 Has anyone encountered this?

 Has anyone worked around?



 Is it better to explode the feature?  I require the geometery from each
 part to do a highlight.



 Is there an issue with how a shapefile multipolygon is converted to SDF?

 Or is this an isse with the SelectFeatures functionality?







 Cheers,





 Kori Maleski









 $geometryFactory = new MgGeometryFactory();

 // create a coordinate
 $coordinate = $geometryFactory-CreateCoordinateXY($x,$y);

 // create a point
 $point = $geometryFactory-CreatePoint($coordinate);

  $queryOptions = new MgFeatureQueryOptions();

  
 $queryOptions-SetSpatialFilter('Geometry',$point,MgFeatureSpatialOperations::Intersects);


  $layerResource = new MgResourceIdentifier($layerdefinition);
  $layer = new MgLayer($layerResource, $resourceService);


  $layerClassName = $layer-GetFeatureClassName();

  $layerFeatureId = $layer-GetFeatureSourceId();
 $layerFeatureResource = new MgResourceIdentifier($layerFeatureId);
 $layerId = $layer

Re: [mapguide-users] WMS Group layer

2008-12-03 Thread Kori Maleski
Details here:

https://trac.osgeo.org/fdo/wiki/FdoWmsNotes



On Wed, Nov 26, 2008 at 6:43 PM, ajid1980 [EMAIL PROTECTED] wrote:


 hai

 Anyone help to , how i wanna call WMS group layer.. because i have 50
 layer..in MGOS .. or any idea. Thanx
 --
 View this message in context:
 http://www.nabble.com/WMS-Group-layer-tp20712297p20712297.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] How to publish map as WMS

2008-11-11 Thread Kori Maleski
The parameter details are available in the mapagent web tier tests
under WMS:

http://localhost/mapguide/mapagent/index.html

Normally the URL will be something like the following:

http://localhost//mapguide/mapagent/mapagent.fcgi?service=WMSREQUEST=GetMapVERSION=1.1.1LAYERS=PlacesFORMAT=image/pngSRS=EPSG:4326'bbox=bboxwidth=widthheight=height

Cheers,

On Tue, Nov 11, 2008 at 10:02 AM, Pedro Venâncio
[EMAIL PROTECTED]wrote:

   You simply right click the layer, and under properties there is a
 Service or WMS entry.
 There you must enable the layer as a WMS layer, and set some properties.
 After that, you should be able to pass the regular MapGuide URL to an
 WMS enabled service:


 Hi Kenneth

 I've done that but I don't know the full URL to use. (Layer name is
 Places).

 Regards,
 Pedro



 --- On *Tue, 11/11/08, Kenneth Skovhede, GEOGRAF A/S [EMAIL 
 PROTECTED]*wrote:

 From: Kenneth Skovhede, GEOGRAF A/S [EMAIL PROTECTED]
 Subject: Re: [mapguide-users] How to publish map as WMS
 To: MapGuide Users Mail List mapguide-users@lists.osgeo.org
 Date: Tuesday, November 11, 2008, 10:51 AM


 In MapGuide, you publish a layer, not a map (unfortunate IMO).
 You simply right click the layer, and under properties there is a
 Service or WMS entry.
 There you must enable the layer as a WMS layer, and set some properties.
 After that, you should be able to pass the regular MapGuide URL to an
 WMS enabled service:
 http://server/mapguide
 (And WMS must not be deactivated in in site admin).

 To use a WMS map from another server in MapGuide, instructions are here:
 http://trac.osgeo.org/fdo/wiki/FdoWmsNotes

 Well... Those are advanced instructions, for most usage, you can just
 add a new WMS featuresource.

 Regards, Kenneth Skovhede, GEOGRAF A/S



 Andre Schoonbee skrev:
  I have 2 questions relating to WMS:
  a) How to I publish a map already defined using Studio 2009 as a WMS map
  b) How do I load a layer or another map from another server, published
  as
 a
  WMS map service.
 
 
  Andre
 
  ___
  mapguide-users mailing list
  mapguide-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Using GetFeatureInfo on MapGuide layers via WMS

2008-11-05 Thread Kori Maleski
I couldnt get it to work on point or polyline with MapGuide 1.2.  - Not sure
if this is resolved in the new releases.

Cheers,

On Wed, Nov 5, 2008 at 11:22 AM, gingerbbm [EMAIL PROTECTED] wrote:


 Dear all

 I am accessing MapGuide layers via WMS (in OpenLayers). I want to be able
 to
 click a point and see feature information (ultimately to create dynamic
 tooltips). I found the code to do this job (see below) which employs
 GetFeatureInfo.

 The thing is, it doesn't appear to work on point or line layers, only
 polygon ones. Can anyone confirm that this doesn't work, or offer some
 advice on how to make it work.

map.events.register('click', map, function (e) {
OpenLayers.Util.getElement('nodeList').innerHTML = Loading...
 please wait...;
var url =  layerTube.getFullRequestString({
REQUEST: GetFeatureInfo,
EXCEPTIONS: application/vnd.ogc.se_xml,
BBOX: layerTube.map.getExtent().toBBOX(),
X: e.xy.x,
Y: e.xy.y,
INFO_FORMAT: 'text/html',
QUERY_LAYERS: layerTube.params.LAYERS,
WIDTH: layerTube.map.size.w,
HEIGHT: layerTube.map.size.h,
TOLERANCE: 50
});
OpenLayers.loadURL(url, '', this, setHTML);
OpenLayers.Event.stop(e);
  });


 I would appreciate any advice on this subject.

 Thanks!
 Stuart
 --
 View this message in context:
 http://n2.nabble.com/Using-GetFeatureInfo-on-MapGuide-layers-via-WMS-tp1461258p1461258.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] WMS Point Feature Layers

2008-09-11 Thread Kori Maleski
Has anyone successfully got a return from a WMS Request on a point feature
layer?

1.2 or 2.0?


Cheers and thanks,


Kori Maleski
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] WMS Performance with FastCGI exe vs ISAPI dll

2008-09-02 Thread Kori Maleski
Hi all.

I am having issues with MapGuide 2.0 versus the 1.2 release with regards to
WMS performance.

 I am making 28 asynchronous WMS requests to the MapGuide server in order to
retrieve tiles.
This is on IIS configuration.  Same data set.


With MapGuide 2.0:

Dual Core test box:  each tile can take 3 - 15 seconds to retrieve depending
on request order with an average of 10 seconds.
4 Dual Core Processor server (8 Cores):  each tile can take 3 - 15 seconds
to retrieve depending on request order with an vaerage of 10 seconds.

There is no indication that the isapi dll is taking advantage of the extra
cores.

When viewing the map in ajax or fusion the map is drawn in 3 seconds or so.

The option to tune the FastCGI is not present in the Registry


With MapGuide 1.2:

 Dual Core test box:  each tile can take 2 - 5 seconds to retrieve depending
on request order with an average of 3 seconds.
4 Dual Core Processor server (8 Cores):  each tile can take 0.5 - 3 seconds
to retrieve depending on request order with an vaerage of 1 second.

The FastCGI has been configured to take advantage of the extra cores.





So the 1.2 release is 100% faster with regards to WMS requests on a properly
configured server.

Has anyone experienced the same or similar issue?
Is there a way to tune the 2.0 release ISAPI filter?




Cheers,


Kori Maleski
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Google Chrome

2008-09-02 Thread Kori Maleski
My Google/MapGuide application works, but there are issues with custom
tooltip mouseover effects.

If only there was FireBug for Chrome...



On Tue, Sep 2, 2008 at 5:00 PM, Andy Morsell [EMAIL PROTECTED]wrote:

 Chrome looks pretty cool so far.  But, it's not working with any MGOS 1.2
 sites.  It seems to work fine with MGOS 2.0 standard and flexible layouts,
 though.  And, ironically, it does not work with a Google Maps mashup of
 mine
 that works on IE and Firefox.

 Andy Morsell, P.E.
 Spatial Integrators, Inc.
 www.SpatialGIS.com http://www.spatialgis.com/

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of shreepad
 Sent: Tuesday, September 02, 2008 2:06 PM
 To: mapguide-users@lists.osgeo.org
 Subject: [mapguide-users] Google Chrome



 just started using Google chrome was waiting for this for couple year
 its really good and one good thing MGOS works just fine on the chrome

 shreepad


 --
 View this message in context:
 http://www.nabble.com/Google-Chrome-tp19278372p19278372.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] MapGuide OS WMS server

2008-07-05 Thread Kori Maleski
Hi Maksim,

 

That's what I needed to know.  The Google projection doesn't use flattening
(I think).  The hack addresses the issue.  

 

I just wanted to sort out which projection to use before reprojecting
imagery.

 

 

 

Cheers,

 

Kori Maleski

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maksim Sestic
Sent: July-05-08 4:02 AM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] MapGuide OS WMS server

 

Hi Kori,

 

That's strange, I've been using WGS84 for both raster and vector layers in
Google Earth and everything worked fine. That is - if your actual raster
coverage doesn't get overlayed on top of the poles (WGS84 won't perform well
too north or too south).  There are situations when you need to manually
hack WGS84 transformation parameters, though (see remarks below).

 

You might try this:

 

+proj=merc +ellps=sphere +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0
+x_0=0.0 +y_0=0 +k=1.0 +units=m +no_defs

 

instead of this:

 

+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0
+k=1.0 +units=m [EMAIL PROTECTED] +no_defs 

 

BTW, EPSG guys are right on this:

 

We have reviewed the coordinate reference system used by Microsoft, Google,
etc. and believe that it is technically flawed. We will not devalue the EPSG
dataset by including such inappropriate geodesy and cartography. 

 

Which they obviously did, and this is not unique case of technically flawed
PCS slipping into the EPSG dataset :-) Google/MS have choosen spherical
projection over ellipsoidal one due to speed issues - they didn't foresee
that their datasets will get heavily overlayed with actual, measured data.
End result for EPSG 3785:

 

Relative to an ellipsoidal development errors of up to 800 metres in
position and 0.7% in scale may arise. Some applications call this WGS 84. It
is not a recognised geodetic system: see WGS 84 / World Mercator (CRS code
3395)   

 

Regards,

Maksim Sestic

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori Maleski
Sent: Saturday, July 05, 2008 04:08
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide OS WMS server

Hi Maksim,

 

From what I understand, vector data will overlay on Google fine via WMS
using WGS84 - EPSG 4326.

I have a number of layers configured this way and it works fine.  But what
about raster imagery?  

 

Google uses a modified Mercator for its tiles, and I need to overlay some
raster imagery layers.  I need to reproject the raster to the appropriate
map projection for proper display.

If I format images in a modified Mercator, will MapGuide be able to
recognize the projection and will the WMS work?

 

I added the projections to the files in the nad and data directories for
both the server and web extensions, as well as modified the WMS axd file.  I
can't get it to work.  I get an invalid coordinate system error.  Not sure
if I am doing something wrong or not configuring it correctly.  Hoping
someone else has done this before.

 

Here is some info on the Google projections:

 

http://www.sharpgis.net/post/2007/07/26/The-Microsoft-Live-Maps-and-Google-M
aps-projection.aspx

 

http://www.iter.dk/post/2008/05/SphericalWeb-Mercator-EPSG-code-3785.aspx

 

 

Cheers,

 

Kori Maleski

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maksim Sestic
Sent: July-03-08 11:55 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide OS WMS server

 

Hi Kori,

 

Do you have any indicies how is EPSG:3785 different than standard WGS84?
I've been doing coordinate transformation from numerous other CRSes to WGS84
and everything worked fine with Google Earth/Maps. The most important part
of the process is, naturally, getting correct WGS84 transformation
parameters in first place. BTW, decimeter-precision range is out of question
due to GE/GM aerial imagery scale which is, if I recall correctly, 1:5000
(m) at best.

 

Regards,

Maksim Sestic

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori Maleski
Sent: Friday, July 04, 2008 02:06
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] MapGuide OS WMS server

Has anyone tried to publish to the new EPSG projection for Google - 3785 -
successfully?

 

Can the Proj4 library handle custom projections in this manner?

 

 

 

Cheers,

 

 

Kori Maleski

 

 



 

On Thu, Jul 3, 2008 at 2:30 PM, Gwenael Bachelot
[EMAIL PROTECTED] wrote:

Hi Danas,
I am not sure it is what you are searching for, but I wrote on my blog two
posts on how to publish WMS with MapGuide (using Autodesk MapGuide Studio).
It's in french, but with Google translation (on the left), and screenshots,
I assume it can be useful.
You will find :
- publish WGS 84 WMS service :
http://geospatialfrance.typepad.com/geospatialfrance/2008/06/publier-des-don
.html
- publish with other coordsys :
http://geospatialfrance.typepad.com/geospatialfrance/2008/06/publier-des-d-1
.html

Cordialement

RE: [mapguide-users] MapGuide OS WMS server

2008-07-04 Thread Kori Maleski
Hi Maksim,

 

From what I understand, vector data will overlay on Google fine via WMS
using WGS84 - EPSG 4326.

I have a number of layers configured this way and it works fine.  But what
about raster imagery?  

 

Google uses a modified Mercator for its tiles, and I need to overlay some
raster imagery layers.  I need to reproject the raster to the appropriate
map projection for proper display.

If I format images in a modified Mercator, will MapGuide be able to
recognize the projection and will the WMS work?

 

I added the projections to the files in the nad and data directories for
both the server and web extensions, as well as modified the WMS axd file.  I
can't get it to work.  I get an invalid coordinate system error.  Not sure
if I am doing something wrong or not configuring it correctly.  Hoping
someone else has done this before.

 

Here is some info on the Google projections:

 

http://www.sharpgis.net/post/2007/07/26/The-Microsoft-Live-Maps-and-Google-M
aps-projection.aspx

 

http://www.iter.dk/post/2008/05/SphericalWeb-Mercator-EPSG-code-3785.aspx

 

 

Cheers,

 

Kori Maleski

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maksim Sestic
Sent: July-03-08 11:55 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide OS WMS server

 

Hi Kori,

 

Do you have any indicies how is EPSG:3785 different than standard WGS84?
I've been doing coordinate transformation from numerous other CRSes to WGS84
and everything worked fine with Google Earth/Maps. The most important part
of the process is, naturally, getting correct WGS84 transformation
parameters in first place. BTW, decimeter-precision range is out of question
due to GE/GM aerial imagery scale which is, if I recall correctly, 1:5000
(m) at best.

 

Regards,

Maksim Sestic

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori Maleski
Sent: Friday, July 04, 2008 02:06
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] MapGuide OS WMS server

Has anyone tried to publish to the new EPSG projection for Google - 3785 -
successfully?

 

Can the Proj4 library handle custom projections in this manner?

 

 

 

Cheers,

 

 

Kori Maleski

 

 



 

On Thu, Jul 3, 2008 at 2:30 PM, Gwenael Bachelot
[EMAIL PROTECTED] wrote:

Hi Danas,
I am not sure it is what you are searching for, but I wrote on my blog two
posts on how to publish WMS with MapGuide (using Autodesk MapGuide Studio).
It's in french, but with Google translation (on the left), and screenshots,
I assume it can be useful.
You will find :
- publish WGS 84 WMS service :
http://geospatialfrance.typepad.com/geospatialfrance/2008/06/publier-des-don
.html
- publish with other coordsys :
http://geospatialfrance.typepad.com/geospatialfrance/2008/06/publier-des-d-1
.html

Cordialement,
Gwenael
---
Gwenael Bachelot - Mailto:[EMAIL PROTECTED]
 http://blogs.autodesk.com/geospatialfrance



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danas Augutis
Sent: jeudi 3 juillet 2008 15:21
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] MapGuide OS WMS server

I'm not used to mapguide studio, I found 'is published check box, but was
unable to save layer after checking it (save was not active).

Is it somewhere in XML files of layers? I didn't found anything special in
sheboygan layers. Can you send my an example of publishing code, please?

Regards,
D.

On Thursday 03 July 2008 12:52:07 Zac Spitzer wrote:
 there's an is_published flag on the resource header for mapguide
 layers which when set
 exposes them via WMS... mapguide studio makes it easier

 if you look at the headers for the sheboygan layers you will see the
 setting in the xml

 z

 On Thu, Jul 3, 2008 at 7:48 PM, Dumas A [EMAIL PROTECTED] wrote:
  I'm looking for info about wms services on MGOS. I'm interested to
  provide some data via WMS.
 
  I can see sheboygan example data in ArcCatalog using WMS, but none of my
  Datasets are in server. Can you tell me where sheboygan example data for
  WMS is configured? How to configure WMS server for Onw data?
 
  Any help appritiated!
 
  D.
 
  ___
  mapguide-users mailing list
  mapguide-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide OS WMS server

2008-07-03 Thread Kori Maleski
Has anyone tried to publish to the new EPSG projection for Google - 3785 -
successfully?

Can the Proj4 library handle custom projections in this manner?



Cheers,


Kori Maleski





On Thu, Jul 3, 2008 at 2:30 PM, Gwenael Bachelot 
[EMAIL PROTECTED] wrote:

 Hi Danas,
 I am not sure it is what you are searching for, but I wrote on my blog two
 posts on how to publish WMS with MapGuide (using Autodesk MapGuide Studio).
 It's in french, but with Google translation (on the left), and screenshots,
 I assume it can be useful.
 You will find :
 - publish WGS 84 WMS service :
 http://geospatialfrance.typepad.com/geospatialfrance/2008/06/publier-des-don.html
 - publish with other coordsys :
 http://geospatialfrance.typepad.com/geospatialfrance/2008/06/publier-des-d-1.html

 Cordialement,
 Gwenael
 ---
 Gwenael Bachelot - Mailto:[EMAIL PROTECTED]
  http://blogs.autodesk.com/geospatialfrance


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Danas Augutis
 Sent: jeudi 3 juillet 2008 15:21
 To: MapGuide Users Mail List
 Subject: Re: [mapguide-users] MapGuide OS WMS server

 I'm not used to mapguide studio, I found 'is published check box, but was
 unable to save layer after checking it (save was not active).

 Is it somewhere in XML files of layers? I didn't found anything special in
 sheboygan layers. Can you send my an example of publishing code, please?

 Regards,
 D.

 On Thursday 03 July 2008 12:52:07 Zac Spitzer wrote:
  there's an is_published flag on the resource header for mapguide
  layers which when set
  exposes them via WMS... mapguide studio makes it easier
 
  if you look at the headers for the sheboygan layers you will see the
  setting in the xml
 
  z
 
  On Thu, Jul 3, 2008 at 7:48 PM, Dumas A [EMAIL PROTECTED] wrote:
   I'm looking for info about wms services on MGOS. I'm interested to
   provide some data via WMS.
  
   I can see sheboygan example data in ArcCatalog using WMS, but none of
 my
   Datasets are in server. Can you tell me where sheboygan example data
 for
   WMS is configured? How to configure WMS server for Onw data?
  
   Any help appritiated!
  
   D.
  
   ___
   mapguide-users mailing list
   mapguide-users@lists.osgeo.org
   http://lists.osgeo.org/mailman/listinfo/mapguide-users


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] FM Tiling Engine on MGOS 2.0.1

2008-06-05 Thread Kori Maleski
The Tiling Engine will work with PHP+Apache, but requires the .NET  dll's in
order to work.

Try with running it with the default installation, but you need to set the
new 2.0.1 parameter in the config file.

If that fails, install the 2.0.1 .NET Webextensions on a test machine and
copy the required dll's to the Tiling Engine install directory.

If that fails, you will have to wait for a new release.


Cheers,


Kori Maleski

On Thu, Jun 5, 2008 at 8:47 AM, Rahul [EMAIL PROTECTED] wrote:

  Hi,

  I think the mapviewernet\bin directory will be with 
 *ASP.NEThttp://asp.net/+IIS
 * setting but i am using  PHP+Apache hence in my case its only
 mapviewerphp and mapagent directory.



 C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapviewerphp
 *(No bin)*

 C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapagent

 Max !

   - Original Message 
 From: Jackie C. Ng [EMAIL PROTECTED]
 To: mapguide-users@lists.osgeo.org
 Sent: Thursday, June 5, 2008 9:09:32 PM
 Subject: Re: [mapguide-users] FM Tiling Engine on MGOS 2.0.1


 Try copying all the dlls from the mapviewernet\bin directory and overwrite
 the ones installed by the Tiling Engine and see if that helps.

 - Jackie


 max_samart wrote:
 
  Hi All,
   I am using PHP+Apache+Windows Server 2003 ,and i would like
  to enquire that whether FM Tiling Engine supports MGOS 2.0.1 on the above
  configuration and if so then what kind of dll files should be copied
  fromMapGuideOpenSource2.0\WebServerExtension\www into the Websoft
  Developers\FacilitiesMap Tiling Engine Folder, I already configured the
  FMTilingEngine.exe.config file as well as replaced the webconfig.ini
 file.
  Thks
  Max !
 
 
 
  ___
  mapguide-users mailing list
  mapguide-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 


 -
 http://themapguyde.blogspot.com

 http://www.linkedin.com/in/jackieng
 --
 View this message in context:
 http://www.nabble.com/FM-Tiling-Engine-on-MGOS-2.0.1-tp17663298p17670722.html
 Sent from the MapGuide Users mailing list archive at 
 Nabble.comhttp://nabble.com/
 .

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] FM Tiling Engine on MGOS 2.0.1

2008-06-05 Thread Kori Maleski
For the default install, you will also have to replace the webconfig.ini
with the 2.0.1 version.

On Thu, Jun 5, 2008 at 9:33 AM, Kori Maleski [EMAIL PROTECTED] wrote:

 The Tiling Engine will work with PHP+Apache, but requires the .NET  dll's
 in order to work.

 Try with running it with the default installation, but you need to set the
 new 2.0.1 parameter in the config file.

 If that fails, install the 2.0.1 .NET Webextensions on a test machine and
 copy the required dll's to the Tiling Engine install directory.

 If that fails, you will have to wait for a new release.


 Cheers,


 Kori Maleski

   On Thu, Jun 5, 2008 at 8:47 AM, Rahul [EMAIL PROTECTED] wrote:

  Hi,

  I think the mapviewernet\bin directory will be with 
 *ASP.NEThttp://asp.net/+IIS
 * setting but i am using  PHP+Apache hence in my case its only
 mapviewerphp and mapagent directory.



 C:\Program
 Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapviewerphp *(No
 bin)*

 C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapagent

 Max !

   - Original Message 
 From: Jackie C. Ng [EMAIL PROTECTED]
 To: mapguide-users@lists.osgeo.org
 Sent: Thursday, June 5, 2008 9:09:32 PM
 Subject: Re: [mapguide-users] FM Tiling Engine on MGOS 2.0.1


 Try copying all the dlls from the mapviewernet\bin directory and overwrite
 the ones installed by the Tiling Engine and see if that helps.

 - Jackie


 max_samart wrote:
 
  Hi All,
   I am using PHP+Apache+Windows Server 2003 ,and i would like
  to enquire that whether FM Tiling Engine supports MGOS 2.0.1 on the
 above
  configuration and if so then what kind of dll files should be copied
  fromMapGuideOpenSource2.0\WebServerExtension\www into the Websoft
  Developers\FacilitiesMap Tiling Engine Folder, I already configured the
  FMTilingEngine.exe.config file as well as replaced the webconfig.ini
 file.
  Thks
  Max !
 
 
 
  ___
  mapguide-users mailing list
  mapguide-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 


 -
 http://themapguyde.blogspot.com

 http://www.linkedin.com/in/jackieng
 --
 View this message in context:
 http://www.nabble.com/FM-Tiling-Engine-on-MGOS-2.0.1-tp17663298p17670722.html
 Sent from the MapGuide Users mailing list archive at 
 Nabble.comhttp://nabble.com/
 .

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] GT Samples in .Net

2008-04-29 Thread Kori Maleski
Autodesk has them in C# .NET.

I havent seen them available for public download.




Kori Maleski





On Tue, Apr 29, 2008 at 12:41 PM, Warren Medernach [EMAIL PROTECTED]
wrote:

  Hello all,

 Are the GT samples available in .Net



 Thanks so much

 Warren M



 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Get selected layers from server side

2008-01-05 Thread Kori Maleski
I think this isn't possible when using the Ajax viewer, but is possible when
using the DWF viewer.

Someone may correct me on that...

Use the Script frame of the Ajax viewer to fire a Form Submit Post to pass
your selection set instead.


Cheers,

Kori Maleski

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim O'Leary
Sent: January-04-08 6:13 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Get selected layers from server side


Is it possible to get a list of the map's selected layers from the server
side? 

I know I can get this by making an MgSelection and passing the selection XML
from the client to the server program, like:

$selection = new MgSelection($map,$_REQUEST['selectionXML']);

However, I don't want to pass a big selection XML string to the server
program, as I am passing by GET and the selection XML could be greater than
the browser handles. 

If I make the selection object without including the selection XML, like

$selection = new MgSelection($map);
$selectedLayers = $selection-GetLayers();
$numberLayers = $selectedLayers-GetCount();

PHP tells me that $selectedLayers is not an object.

Thanks.


-- 
View this message in context:
http://www.nabble.com/Get-selected-layers-from-server-side-tp14628979s16610p
14628979.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Tiling engine question

2007-12-06 Thread Kori Maleski
George,

The Tiling Engine will grab 1 extra row and column on either side if the
stating and ending row columns are not specified.

The row and column count are determined directly by the bounds of the map
definition as set in Studio, at the smallest scale.  Every subsequent zoom
threshold is tiled based on the initial map width.

There is no way to evaluate whether a tile has no content before generating
it, so the only way of reducing tiles is to manually delete them.  You could
delete all files 2kb and under.  For PNGs files this size are blank and/or
single colour tiles.  You will most likely delete some valid files in this
manner.


Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George McLean
Sent: Wednesday, December 05, 2007 9:53 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling engine question

Thanks Kori, I am looking forward to any suggestions you might have.

George

Kori Maleski wrote:
 Hi George,

 I have the TilingEngine by default grab 1 or 2 extra rows and columns
 outside the perimeter of the defined map extents.  This is incase the
 browser/screen resolution is sized in such a way upon initial map load to
 include any outside area.

 I will give you an update tomorrow on specifics and how to possibly
minimize
 this.

 Cheers,

 Kori Maleski

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of George McLean
 Sent: December 4, 2007 5:46 PM
 To: MapGuide Users Mail List
 Subject: [mapguide-users] Tiling engine question

 I am using the Websoft Developers tiling engine to create tiles that may 
 be used outside of mapguide. I noticed that there are many blank tiles 
 created that appear outside of the border of my map. I have seen this 
 running a php script I wrote to create tiles as well. I am trying to 
 understand how the tiling function in mapguide determines where the edge 
 of the map is. Is it somehow related to the Initial View settings in the 
 Map Definition in Studio? Is related to the farthest zoom scale? I am 
 trying to minimize the number of blank tiles created. Any suggestions?

 Thanks

 George McLean
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


   

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Tiling engine question

2007-12-04 Thread Kori Maleski
Hi George,

I have the TilingEngine by default grab 1 or 2 extra rows and columns
outside the perimeter of the defined map extents.  This is incase the
browser/screen resolution is sized in such a way upon initial map load to
include any outside area.

I will give you an update tomorrow on specifics and how to possibly minimize
this.

Cheers,

Kori Maleski

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George McLean
Sent: December 4, 2007 5:46 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] Tiling engine question

I am using the Websoft Developers tiling engine to create tiles that may 
be used outside of mapguide. I noticed that there are many blank tiles 
created that appear outside of the border of my map. I have seen this 
running a php script I wrote to create tiles as well. I am trying to 
understand how the tiling function in mapguide determines where the edge 
of the map is. Is it somehow related to the Initial View settings in the 
Map Definition in Studio? Is related to the farthest zoom scale? I am 
trying to minimize the number of blank tiles created. Any suggestions?

Thanks

George McLean
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] FMTilingEngine Raster

2007-11-07 Thread Kori Maleski
Good performance machine.

My test servers are a wee bit slower :)

I will release an updated build at the bottom of the month with the config
setting capability.  We can see if the issue remains.


Cheers and thanks for your patience.








Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Wednesday, November 07, 2007 10:24 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

Thanks Kori. I am using XP/ 3.39 GHZ/ 3 GB RAM
and / or server 2003 R2 / Dual core 3 GHZ / 4 GB RAM

It actually is not that critical now that I was able to get the tiling
done by doing each scale individually, but I appreciate yoru quick
response. 

The XP machine has 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori
Maleski
Sent: Wednesday, November 07, 2007 1:18 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] FMTilingEngine Raster

Brian,

What Operating System/Processor and RAM configuration are you running
under?


Under test conditions, if too many requests are made to the server it
will
lock up the service.  The Engine will try to restart the service if this
is
encountered but services can sometimes be fickle.  

I have a fixed delay set - but maybe I should expose this as a setting
in
the config so that it can be tweaked in cases like this.  No guarantee
that
it might fix the issue, but it is the only culprit I can see at this
point.


Let me know how critical this issue is - I am tied up on some other
projects
for the next week.

Cheers,







Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Wednesday, November 07, 2007 7:01 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

I just tried a single scale and it failed after 24000 tiles. (About 93%
complete and it ran for 50 minutes)

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Wednesday, November 07, 2007 8:51 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

Mine is only running for about 1.5 hours before crashing even with the
ConnectionTimeout set to 24 hours. 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Wednesday, November 07, 2007 8:45 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

It did fail again last night on two different machines.   The service
does stop running then keeps attempting to restart, but I have to reboot
to get it going again.  I am going to run it one more time and I will
let you know the results.  It keeps going further and further, but fails
in the end.  This time I it was up to around 30,000. 

Thanks, 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori
Maleski
Sent: Tuesday, November 06, 2007 7:29 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] FMTilingEngine Raster

Hi Brian,

Let me know if it still fails.

Can I get you to clock it as well?  

I am interested in how long it runs as well as the number of tiles
before it
loses connectivity.

Is the server service still active?  Or do you need to restart or
reboot?


Cheers,








Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Tuesday, November 06, 2007 1:06 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

Ok, thanks.  I'll give it a try. 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Tuesday, November 06, 2007 3:49 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] FMTilingEngine Raster

I have a separate server that I was able to dedicate to making tiles. I 
just checked the settings and it looks like on this machine I only 
changed the ConnectionTimeout. I set

RE: [mapguide-users] FMTilingEngine Raster

2007-11-07 Thread Kori Maleski
Brian,

What Operating System/Processor and RAM configuration are you running under?


Under test conditions, if too many requests are made to the server it will
lock up the service.  The Engine will try to restart the service if this is
encountered but services can sometimes be fickle.  

I have a fixed delay set - but maybe I should expose this as a setting in
the config so that it can be tweaked in cases like this.  No guarantee that
it might fix the issue, but it is the only culprit I can see at this point.


Let me know how critical this issue is - I am tied up on some other projects
for the next week.

Cheers,







Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Wednesday, November 07, 2007 7:01 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

I just tried a single scale and it failed after 24000 tiles. (About 93%
complete and it ran for 50 minutes)

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Wednesday, November 07, 2007 8:51 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

Mine is only running for about 1.5 hours before crashing even with the
ConnectionTimeout set to 24 hours. 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Wednesday, November 07, 2007 8:45 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

It did fail again last night on two different machines.   The service
does stop running then keeps attempting to restart, but I have to reboot
to get it going again.  I am going to run it one more time and I will
let you know the results.  It keeps going further and further, but fails
in the end.  This time I it was up to around 30,000. 

Thanks, 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori
Maleski
Sent: Tuesday, November 06, 2007 7:29 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] FMTilingEngine Raster

Hi Brian,

Let me know if it still fails.

Can I get you to clock it as well?  

I am interested in how long it runs as well as the number of tiles
before it
loses connectivity.

Is the server service still active?  Or do you need to restart or
reboot?


Cheers,








Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Tuesday, November 06, 2007 1:06 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

Ok, thanks.  I'll give it a try. 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Tuesday, November 06, 2007 3:49 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] FMTilingEngine Raster

I have a separate server that I was able to dedicate to making tiles. I 
just checked the settings and it looks like on this machine I only 
changed the ConnectionTimeout. I set it to 120 even though the 
comments in the ini file state the max is 86400 ( 24 hours). I ran the 
tiling engine for one zoom level for about 26 hours so I am not sure if 
86400 is really a limit. This produced just over 145000 tiles. The 
server is 3.00Ghz Pentium D with 1GB ram running windows 2003.

George

Berdel, Brian wrote:
 Thanks, what did you increase them too?

 Brian  Berdel 
 McMahon Associates, Inc. 
 p: 215.283.9444
 www.mcmtrans.com 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of George
 McLean
 Sent: Tuesday, November 06, 2007 3:14 PM
 To: MapGuide Users Mail List
 Subject: Re: [mapguide-users] FMTilingEngine Raster

 I had this same problem until I increased the SessionTimeout and 
 ConnectionTimeout settings in the serverconfig.ini.

 George McLean

 Berdel, Brian wrote:
   
 When trying to Use the engine it works for a while then always craps 
 out...This is after 10,000 tiles or so.

 Any suggestions?

 Title: Error

 Message: Cannot establish connection.

 StackTrace: Cannot establish connection.

 Exception occurred in method MgServerConnection.Open at line 98 in 
 file 

 

c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\common\map

RE: [mapguide-users] FMTilingEngine Raster

2007-11-06 Thread Kori Maleski
Hi Brian,

Let me know if it still fails.

Can I get you to clock it as well?  

I am interested in how long it runs as well as the number of tiles before it
loses connectivity.

Is the server service still active?  Or do you need to restart or reboot?


Cheers,








Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Tuesday, November 06, 2007 1:06 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] FMTilingEngine Raster

Ok, thanks.  I'll give it a try. 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Tuesday, November 06, 2007 3:49 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] FMTilingEngine Raster

I have a separate server that I was able to dedicate to making tiles. I 
just checked the settings and it looks like on this machine I only 
changed the ConnectionTimeout. I set it to 120 even though the 
comments in the ini file state the max is 86400 ( 24 hours). I ran the 
tiling engine for one zoom level for about 26 hours so I am not sure if 
86400 is really a limit. This produced just over 145000 tiles. The 
server is 3.00Ghz Pentium D with 1GB ram running windows 2003.

George

Berdel, Brian wrote:
 Thanks, what did you increase them too?

 Brian  Berdel 
 McMahon Associates, Inc. 
 p: 215.283.9444
 www.mcmtrans.com 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of George
 McLean
 Sent: Tuesday, November 06, 2007 3:14 PM
 To: MapGuide Users Mail List
 Subject: Re: [mapguide-users] FMTilingEngine Raster

 I had this same problem until I increased the SessionTimeout and 
 ConnectionTimeout settings in the serverconfig.ini.

 George McLean

 Berdel, Brian wrote:
   
 When trying to Use the engine it works for a while then always craps 
 out...This is after 10,000 tiles or so.

 Any suggestions?

 Title: Error

 Message: Cannot establish connection.

 StackTrace: Cannot establish connection.

 Exception occurred in method MgServerConnection.Open at line 98 in 
 file 

 

c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\common\map
 guidecommon\Services/ServerConnection.cpp
   
 Date/Time: 11/6/2007 2:59:19 PM

 

 Brian Berdel

 Systems Administrator/Programmer Analyst

 McMahon Associates, Inc.

 425 Commerce Drive, Suite 200

 Fort Washington, Pennsylvania 19034

 p: 215.283.9444

 f: 215.283.9858

 [EMAIL PROTECTED]

 http://www.mcmtrans.com

 New England | Mid-Atlantic | Florida


 


   
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
   

 


   
 No virus found in this incoming message.
 Checked by AVG Free Edition. 
 Version: 7.5.503 / Virus Database: 269.15.23/1113 - Release Date:
 
 11/6/2007 10:04 AM
   
   
 

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users


   

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Collapse layers and properties panes

2007-10-18 Thread Kori Maleski
The Ajax viewer requires that the legend be present for the map to work.
After each map event it interacts with the legend in order to appropriately
display the map layers.

This if the layout is set with the legend being configured for display.

You would have to disable the javascript interaction.  I haven't done it
myself within the weblayout, but I have in the case of a map only weblayout
with a custom legend frame.  The required changes may be different.

Cheers,





Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim O'Leary
Sent: Thursday, October 18, 2007 10:11 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Collapse layers and properties panes


Is it possible to collapse the layers and properties pane programmatically?
I
can set the InfoBand td width to 0px and set the InfoDiv div to display =
none with JavaScript, but the map itself moves to the left, it does not
expand to cover the entire map frame. Furthermore, when you pan or do other
viewer operations with the map this way, you soon get JavaScript errors,
indicating that the JavaScript code is looking for those collapsed TD/Divs. 

Thanks
-- 
View this message in context:
http://www.nabble.com/Collapse-layers-and-properties-panes-tf4648417s16610.h
tml#a13279235
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] MapGuide Automated Tiling Engine 1.2 - patchedrelease

2007-10-14 Thread Kori Maleski
Are the scales you are using the same as in the Map Definition in Studio?

If you run it without specify a scale does it throw the same errors?



Kori Maleski

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Krunoslav
Sent: October 14, 2007 11:45 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] MapGuide Automated Tiling Engine 1.2 -
patchedrelease




Kori Maleski-3 wrote:
 
 Hi everyone,
 
 I have posted an update release of the TilingEngine:
 
 

Hi Kori,

Thanks for your great work, but I still have some issues:

Title: Error
Message: Arithmetic operation resulted in an overflow.
StackTrace:at
FacilitiesMap.FacilitiesMap.Utilities.Tiling.GetTileCount()
Date/Time: 14.10.2007 20:37:55

Title: Error
Message: Arithmetic operation resulted in an overflow.
StackTrace:at
FacilitiesMap.FacilitiesMap.Utilities.Tiling.GetTileCount()
Date/Time: 14.10.2007 20:38:01


...and so on for every scale:

Btw., scales that I use are 1:5000, 1:2000, 1:1000, projection system is
Arbitrary X-Y (meters) coordinates system, and manual tiling works fine.

-- 
View this message in context:
http://www.nabble.com/MapGuide-Automated-Tiling-Engine-1.2---patched-release
-tf4616105s16610.html#a13202021
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] MapGuide Automated Tiling Engine 1.2 -patchedrelease

2007-10-14 Thread Kori Maleski
Hold off trying to change the parameters.

I will see if I can replicate the issue and post a fix tomorrow.

It seems to be an issue with the map extents/tilecount.


Kori Maleski


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Krunoslav
Sent: October 14, 2007 10:22 PM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] MapGuide Automated Tiling Engine 1.2
-patchedrelease




Kori Maleski-4 wrote:
 
 Are the scales you are using the same as in the Map Definition in Studio?
 
 If you run it without specify a scale does it throw the same errors?
 
 

Of course they are the same: I am running it without any parameter:


C:\Program Files\Websoft Developers\FacilitiesMap Tiling
EngineFmTilingEngine.e
xe -u Administrator -p admin

Preparing to Tile 'map1' Map Definition...

Initializing Connection to MapGuide...Succeeded

Tiling 'Orto' Layer Group...

 Scale: 1:5000   Finite Scale 1 of 3
 Tiles: 9 ( 3 Columns x 3 Rows )
 ...1...2...3...4...5...6...7...8...9   100%


 Scale: 1:2000   Finite Scale 2 of 3
 Tiles: 9 ( 3 Columns x 3 Rows )
 ...1...2...3...4...5...6...7...8...9   100%


 Scale: 1:1000   Finite Scale 3 of 3
 Tiles: 9 ( 3 Columns x 3 Rows )
 ...1...2...3...4...5...6...7...8...9   100%

Tiling Complete


But, as I wrotebefore, tiles are not being made due to Errors. Should I try
to change some parameters regarding tile size and format in
serverconfig.ini?


-- 
View this message in context:
http://www.nabble.com/MapGuide-Automated-Tiling-Engine-1.2---patched-release
-tf4616105s16610.html#a13206887
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] MapGuide Automated Tiling Engine 1.2 - patched release

2007-10-12 Thread Kori Maleski
Hi everyone,

 

I have posted an update release of the TilingEngine:

 

Http://www.websoftdev.com/download.cfm  

 

 

The update addresses the following issues:

 

Finite Scale Issues:

 

There was a change between 1.1 and 1.2 that I failed to catch.

A single scale specification will now work correctly.

 

You may specify either the exact Finite Scale as per MapGuide Studio.

  As a double value with 5 decimal places:  20759.66589

  As an integer value rounded up: 20760

 

- problem identified by George McLean 

 

 

Projection Issues:

 

Had problems with MGE.  Built a workaround.  Failed to catch a problem with
extents.

This led to the engine falling back to a 3x3 tile in special cases.

 

You may specify any projection including arbitrary XY and shouldn't run into
any issue.

 

- problem identified by Martin Burrows and Krunoslav

 

 

MGE vs MGO mapagent fcgi path issue:

 

There is now a setting in the FmTilingEngine.exe.config that allows you to
specify mapguide or mapguide2008 for the virtual directory for MapGuide.

 

- problem identified by Maksim Sestic  

 

 

 

 

Thanks for your assistance in finding the issues, let me know if any issues
still persist.

 

Cheers,

 

 

 

  _  


 http://www.websoftdev.com/ 

 http://www.websoftdev.com/ 

 http://www.websoftdev.com/ 

Kori Maleski

Senior Application Developer

WEBSOFT DEVELOPERS, INC.

P: (530) 759-8754 ext 114

F: (530) 759-0923

[EMAIL PROTECTED]

  _  

 

 

Hi everyone,

 

Websoft Developers is pleased to announce the availability of the new 1.2
version of our free MapGuide tiling utility.

 

You may download the installation file from the following link:

 

Http://www.websoftdev.com/download.cfm  

 

 

This is a command line utility that can be accessed via a windows console
window or executed via a batch file.

 

Note:

 

1) The application will work on both MapGuide Open Source 1.2 and Autodesk
MapGuide Enterprise 2008.

2) The application works on the Windows platform only, and will work with
.NET, Java and PHP extensions having been installed.

3) Replace MapGuide Open DLLs/webconfig.ini with MapGuide Enterprise
DLLs/webconfig.ini and reconfigure the Tiling Engine config for use with
Enterprise.

 

 

Please provide feedback for any bugs and application hangs, etc.  

 

 

Enjoy!   

 

 

image001.gif___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] RE: MapGuide Automated Tiling Engine 1.2

2007-09-29 Thread Kori Maleski
The projection isn't supported.  I will post a fix this week and let you
know when it is up.  


Cheers,

Kori Maleski

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Krunoslav
Sent: September 29, 2007 3:12 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] RE: MapGuide Automated Tiling Engine 1.2




Kori Maleski-3 wrote:
 
 I have posted a new release.  Please download and install.
 
 I have bumped up the request delay to prevent the service from going
 unresponsive.
 
 The error that Maciek is encountering should now be written to the log
 file.
 
 

Hi Kori. Unfortunately, I still have some problems with automated tile
engine: 

1. When I use Arbitrary X-Y coordinate system:

Title: Error
Message: LOCAL_CS[*XY-MT*,LOCAL_DATUM[*X-Y*,1],UNIT[Meter,
1],AXIS[X,EAST],AXIS[Y,NORTH]] coordinate system is not supported.
StackTrace:at
SharpMap.Converters.WellKnownText.CoordinateSystemWktReader.ReadCoordinateSy
stem(String
coordinateSystem, WktStreamTokenizer tokenizer)
   at
SharpMap.Converters.WellKnownText.CoordinateSystemWktReader.Parse(String
wkt)
   at
SharpMap.CoordinateSystems.CoordinateSystemFactory.CreateFromWkt(String WKT)
   at FacilitiesMap.FacilitiesMap.Utilities.Tiling.GetUnits()
Date/Time: 29.9.2007 23:58:24

Title: Error
Message: Object reference not set to an instance of an object.
StackTrace:at
FacilitiesMap.FacilitiesMap.Utilities.Tiling.GetTileCount()
Date/Time: 29.9.2007 23:58:24

2. When I use local projection (Gauss Krueger)

Title: Error
Message: Arithmetic operation resulted in an overflow.
StackTrace:at
FacilitiesMap.FacilitiesMap.Utilities.Tiling.GetTileCount()
Date/Time: 30.9.2007 0:06:55

Title: Error
Message: Arithmetic operation resulted in an overflow.
StackTrace:at
FacilitiesMap.FacilitiesMap.Utilities.Tiling.GetTileCount()
Date/Time: 30.9.2007 0:06:56



Just to mention, map does work manually. Tiles are being made when
browsing the map. It just doesn't work with automated tiling engine.

-- 
View this message in context:
http://www.nabble.com/MapGuide-Automated-Tiling-Engine-1.2-tf4517799s16610.h
tml#a12960488
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] MapGuide Automated Tiling Engine 1.2

2007-09-26 Thread Kori Maleski
I have posted a new release.  Please download and install.

I have bumped up the request delay to prevent the service from going
unresponsive.

The error that Maciek is encountering should now be written to the log file.



Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Wednesday, September 26, 2007 10:31 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] MapGuide Automated Tiling Engine 1.2

It failed after 4800 tiles...the mapguide service became unresponsive and I
could not restart it until after a reboot. 

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maciej
Skorczewski
Sent: Wednesday, September 26, 2007 1:20 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] MapGuide Automated Tiling Engine 1.2

it is stange i make as you and have this error

http://img510.imageshack.us/img510/811/bladdg1.jpg


 Hi Maciek,
 
 Here are the steps I took to run it. I do not think I did anything unusual
 
 1. Installed MGOS 1.2 Apache and PHP. Installed Mapguide web extensions.
 2. Loaded a package containing my map, data and layer definitions.
 3. Installed fmtilingengine
 4. Opened a command prompt and changed the directory to C:\Program 
 Files\Websoft Developers\Facilitiesmap Tiling Engine
 5. Ran the command: fmtilingening -u Administrator -p admin -map Demo
 
 I have 7 zoom levels in this map ranging from 1:500 to 1:37500. This 
 produced over 44,000 tiles in a couple of hours.
 
 Good Luck,
 
 George
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 




Maciej Skórczewski
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] MapGuide Automated Tiling Engine 1.2

2007-09-25 Thread Kori Maleski
Thanks George.

Try running with the -l log switch and see if it spits out the error to the
log file.

I delay the requests by 50 milliseconds so as not to kill the mgserver
process.  I may have to bump it up if this occurs regularly.

I have only been testing on Sheboygan, which may not be a good enough test
map.


Cheers,

Kori Maleski

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George McLean
Sent: September 25, 2007 6:18 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] MapGuide Automated Tiling Engine 1.2

Kori,

The tiling engine rocks!

This will make a huge difference in the perception of Mapguide's 
performance for my users.

I did have trouble running it on a XP box that is a development machine. 
This machine has 2gb ram and a 3.4 Ghz pentium processor. In creating 
the 5th of 7 tiling groups, the tiling engine appeared to hang after 
1922 tiles in this 5th group. The CPU had very little activity and both 
mgserver and fmtilingengine were not using any CPU or much memory. It 
was hung on that tile for about an hour before I aborted. I did not have 
any trouble running on a similar machine with Win 2003 server as the OS.

Thank you very much for this really useful tool!

George McLean

Kori Maleski wrote:

  

  

 Hi everyone,

  

 Websoft Developers is pleased to announce the availability of the new 
 1.2 version of our free MapGuide tiling utility.

  

 You may download the installation file from the following link:

  

 Http://www.websoftdev.com/download.cfm 
 http://www.websoftdev.com/download.cfm 

  

  

 This is a command line utility that can be accessed via a windows 
 console window or executed via a batch file.

  

 Note:

  

 1) The application will work on both MapGuide Open Source 1.2 and 
 Autodesk MapGuide Enterprise 2008.

 2) The application works on the Windows platform only, and will work 
 with .NET, Java and PHP extensions having been installed.

 3) Replace MapGuide Open DLLs/webconfig.ini with MapGuide Enterprise 
 DLLs/webconfig.ini and reconfigure the Tiling Engine config for use 
 with Enterprise.

  

  

 Please provide feedback for any bugs and application hangs, etc. 

  

  

 Enjoy!  

  

  

  

 

 __

 _ [http://www.websoftdev.com/] http://www.websoftdev.com/_

   

 **Kori Maleski**

 Senior Application Developer

 WEBSOFT DEVELOPERS, INC.

 P: (530) 759-8754 ext 114

 F: (530) 759-0923

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 

  

  

 

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
   
 

 No virus found in this incoming message.
 Checked by AVG Free Edition. 
 Version: 7.5.488 / Virus Database: 269.13.30/1030 - Release Date:
9/25/2007 8:02 AM
   

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Kori Maleski
It does, but there may be issues.  








Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Monday, September 24, 2007 11:33 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

Ok, Thanks. I thought I read in another thread that switching the DLL's
and webconfig.ini would allow it to work with 1.2

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori
Maleski
Sent: Monday, September 24, 2007 2:33 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

Working on MGO 1.2/ MGE2008 Release.  Will have it up shortly.






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Monday, September 24, 2007 10:55 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

I have a repeating error when I try to use the tilingengine

Title: Error
Message: Resource data was not found: LayerGroupData
StackTrace: Resource data was not found: LayerGroupData
Exception occurred in method MgTagManager.GetTag at line 395 in file
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
\services\resource\TagManager.cpp

Date/Time: 9/24/2007 1:52:08 PM


I am using 1.2



C:\Program Files\Websoft Developers\FacilitiesMap Tiling
EngineC:\Program File
s\Websoft Developers\FacilitiesMap Tiling Engine\FmTilingEngine.exe -u
Administ
rator -p admin -m SoleburyTwp

   FacilitiesMap Tiling Engine
 Release Version 1.0.0

 -u user:Administrator
 -p password:***
 -m map:SoleburyTwp
 -g groupnot specified
 -s scalenot specified
 -sx not specified
 -sy not specified
 -ex not specified
 -ey not specified
 -l log  not specified


 Preparing to Tile 'SoleburyTwp' Map Definition...

 Initializing Connection to MapGuide...Succeeded
 Tiling 'Base Layer Group' Layer Group...

 Scale: 1:98000   Finite Scale 1 of 12
 Tiles: 20 ( 5 Columns x 4 Rows )
 ...1...2...3

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Thursday, September 20, 2007 11:26 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Thanks again Kori. I will be upgrading today and hopefully will see 
beautiful panning maps!

George


Kori Maleski wrote:
 George,

 Upgrade to 1.2, since the tiled maping/base layer performance is much
 better.


 Then use the tiling engine to pre-tile just the area of interest at
large
 scales.  Small scales you may tile the whole thing.

 This will reduce the number of tiles significantly.


 The tiling engine allows you to specify a bounding box in tile
row/columns.
 If you specify these bounds you can limit the tile generation to
required
 areas only.  This will have to be done for each zoom threshold -
easily done
 with a batch script.

 I generated a tiled base map for the entire state of California in
this
 manner.  I tiled the entirety of all the small scale thresholds and
then
 just specific areas of interest (urban centres) at large scale
thresholds.

 To reduce tiles (and the amount of space they require) - try to reduce
the
 number of thresholds.  Some may be unnecessary.


 Cheers,

 




 Kori Maleski
 Senior Application Developer
 WEBSOFT DEVELOPERS, INC.
 P: (530) 759-8754 ext 114
 F: (530) 759-0923
 [EMAIL PROTECTED]
 

  

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
 Sent: Wednesday, September 19, 2007 3:32 PM
 To: MapGuide Users Mail List
 Subject: [mapguide-users] Tiling and other methods to improve
performance

 Hello,

 I have a large base map that covers an area for an electric utility.
The 
 base map is in state plane grid coordinates and the map is about 100 
 miles in both X and Y. Most of this map in this 100x100 region is
blank 
 since we only have base information near where the utility's
facilities 
 are located. I am trying to improve performance by using tiles. I
would 
 like to have zoom levels in pretty close, maybe on the order of 1:500
as 
 well as zoom

RE: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Kori Maleski
Yes it will.

The Tiling Engine just does the math and requests, MapGuide will do the
generation based on what you specify.


Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George McLean
Sent: Monday, September 24, 2007 12:36 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Hi Kori,

If I change the ImageFormat setting in serverconfig.ini from PNG to JPG 
will the tiling engine create JPG images?

Thanks

George McLean

Kori Maleski wrote:
 It does, but there may be issues.  



 




 Kori Maleski
 Senior Application Developer
 WEBSOFT DEVELOPERS, INC.
 P: (530) 759-8754 ext 114
 F: (530) 759-0923
 [EMAIL PROTECTED]
 

  

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
 Sent: Monday, September 24, 2007 11:33 AM
 To: MapGuide Users Mail List
 Subject: RE: [mapguide-users] Tiling and other methods to improve
 performance

 Ok, Thanks. I thought I read in another thread that switching the DLL's
 and webconfig.ini would allow it to work with 1.2

 Brian  Berdel 
 McMahon Associates, Inc. 
 p: 215.283.9444
 www.mcmtrans.com 

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kori
 Maleski
 Sent: Monday, September 24, 2007 2:33 PM
 To: 'MapGuide Users Mail List'
 Subject: RE: [mapguide-users] Tiling and other methods to improve
 performance

 Working on MGO 1.2/ MGE2008 Release.  Will have it up shortly.

 




 Kori Maleski
 Senior Application Developer
 WEBSOFT DEVELOPERS, INC.
 P: (530) 759-8754 ext 114
 F: (530) 759-0923
 [EMAIL PROTECTED]
 

  

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
 Brian
 Sent: Monday, September 24, 2007 10:55 AM
 To: MapGuide Users Mail List
 Subject: RE: [mapguide-users] Tiling and other methods to improve
 performance

 I have a repeating error when I try to use the tilingengine

 Title: Error
 Message: Resource data was not found: LayerGroupData
 StackTrace: Resource data was not found: LayerGroupData
 Exception occurred in method MgTagManager.GetTag at line 395 in file
 c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
 \services\resource\TagManager.cpp

 Date/Time: 9/24/2007 1:52:08 PM
 

 I am using 1.2



 C:\Program Files\Websoft Developers\FacilitiesMap Tiling
 EngineC:\Program File
 s\Websoft Developers\FacilitiesMap Tiling Engine\FmTilingEngine.exe -u
 Administ
 rator -p admin -m SoleburyTwp

FacilitiesMap Tiling Engine
  Release Version 1.0.0

  -u user:Administrator
  -p password:***
  -m map:SoleburyTwp
  -g groupnot specified
  -s scalenot specified
  -sx not specified
  -sy not specified
  -ex not specified
  -ey not specified
  -l log  not specified


  Preparing to Tile 'SoleburyTwp' Map Definition...

  Initializing Connection to MapGuide...Succeeded
  Tiling 'Base Layer Group' Layer Group...

  Scale: 1:98000   Finite Scale 1 of 12
  Tiles: 20 ( 5 Columns x 4 Rows )
  ...1...2...3

 Brian  Berdel 
 McMahon Associates, Inc. 
 p: 215.283.9444
 www.mcmtrans.com 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of George
 McLean
 Sent: Thursday, September 20, 2007 11:26 AM
 To: MapGuide Users Mail List
 Subject: Re: [mapguide-users] Tiling and other methods to improve
 performance

 Thanks again Kori. I will be upgrading today and hopefully will see 
 beautiful panning maps!

 George


 Kori Maleski wrote:
   
 George,

 Upgrade to 1.2, since the tiled maping/base layer performance is much
 better.


 Then use the tiling engine to pre-tile just the area of interest at
 
 large
   
 scales.  Small scales you may tile the whole thing.

 This will reduce the number of tiles significantly.


 The tiling engine allows you to specify a bounding box in tile
 
 row/columns.
   
 If you specify these bounds you can limit the tile generation to
 
 required
   
 areas only.  This will have to be done for each zoom threshold -
 
 easily done
   
 with a batch script.

 I generated a tiled base map for the entire state of California in
 
 this
   
 manner.  I tiled the entirety of all the small scale thresholds and
 
 then
   
 just specific areas of interest (urban centres) at large scale
 
 thresholds.
   
 To reduce tiles (and the amount of space they require) - try to reduce
 
 the
   
 number of thresholds.  Some may be unnecessary

RE: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Kori Maleski
Hi Maciej,

You will need the .NET MGO 1.2 DLLs and the 1.2 webconfig.ini in the Tiling
Engine Install directory for the PHP version to work.

The error is because the correct DLLs were not found.


Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maciej
Skorczewski
Sent: Monday, September 24, 2007 12:34 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Hi Kori !

did you will test it whit MG 1.2 PHP too? I try use it whit my MG 
instalattion i have this error.


http://img406.imageshack.us/img406/2803/bladue4.jpg
(Process id terminated due to StackOverflowException)


in error log i have this post.


Title: Error
Message: Failed to retrieve message for MgFileNotFoundException.
StackTrace: Failed to retrieve message for MgFileNotFoundException.
Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in 
file .\System\ByteSourceFileImpl.cpp

Date/Time: 2007-09-24 21:27:22



Kori Maleski pisze:
 It does, but there may be issues.  

-- 


Maciej Skórczewski
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] RE: Tiling and other methods to improve performance

2007-09-19 Thread Kori Maleski
It will run on MGO 1.1 and MGE2007 with no issues.

It will run on MGO 1.2 (swap the DLLs and webconfig.ini) but there may be
issues as I haven't fully tested.

There is an issue with MGE2008, and I am waiting to hear back from Autodesk.

I will release a fully tested version for 1.2 and 2008 at that point.



Apologies for the delay.


Kori Maleski


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MaciekS
Sent: September 19, 2007 7:21 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] RE: Tiling and other methods to improve
performance


Is there a possibility make an upgrade to 1.2 when it's running with MG
Enterprise 2007?

Maciek


---
Upgrade to 1.2, since the tiled maping/base layer performance is much
better.


-- 
View this message in context:
http://www.nabble.com/Tiling-and-other-methods-to-improve-performance-tf4484
214s16610.html#a12789705
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] RE: Tiling and other methods to improve performance

2007-09-19 Thread Kori Maleski
Or are you referring to upgrading the entire MapGuide installation from
MGE2007 to MGO 1.2?


Kori Maleski

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MaciekS
Sent: September 19, 2007 7:21 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] RE: Tiling and other methods to improve
performance


Is there a possibility make an upgrade to 1.2 when it's running with MG
Enterprise 2007?

Maciek


---
Upgrade to 1.2, since the tiled maping/base layer performance is much
better.


-- 
View this message in context:
http://www.nabble.com/Tiling-and-other-methods-to-improve-performance-tf4484
214s16610.html#a12789705
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Select a Multiple Layer

2007-09-18 Thread Kori Maleski
You will have to do a custom edit of the code and/or make a special task to
do this.  

It is not too difficult to do.


Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sweetGemini
Sent: Tuesday, September 18, 2007 6:43 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Select a Multiple Layer


Greetings to all,

 How can i select a multiple layer then display it in Properties
Panel, do i need to make a coding(JSP) here?

Any Help is greatly appreciated...
-- 
View this message in context:
http://www.nabble.com/Select-a-Multiple-Layer-tf4474459s16610.html#a12757398
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Tiling Success (I think)

2007-09-14 Thread Kori Maleski
Hi George,

The Tiling Engine works based on how you have set up your Map Definition in
MapGuide Studio.

You specify the number zoom threshold scales over a specified range in
Studio for a Base Layer.

The tiling engine will loop through each of these, and based on the map
width and height in meters or feet, will generate a grid of tiles.

The tiles are automatically added to your site repository tile cache.

It is the MapGuide Server that does the processing, the Tiling Engine just
does the math and requests.

The metrics of the performance gain will vary by server configuration and
client monitor size, but I have seen 5-10x faster depending.


Cheers,









Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George McLean
Sent: Friday, September 14, 2007 1:18 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] Tiling Success (I think)

I just ran the wsd tiling engine against a set of base layers. I do not 
have any real metrics but it appears that the map redraws more quickly 
now when I pan and zoom. I was curious if there was any way to see how 
the layers were tiled? I would like to learn more about what is actually 
happening when I run the tiling process. I could not find much detail on 
the wsd website about this. Are there more details available?

Thanks

George McLean
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] MGE2008 MgMap.Create Fails in a Windows Executable or Console application

2007-09-04 Thread Kori Maleski
 

 

I need some Autodesk help here:

 

Same code as per the guide.

 

Currently works with MGO 1.1 and 1.2RC2 as well as MGE2007.

Fails in MGE2008 at the MgMap.create.  No error thrown.  Just halts the
application.

 

Apologies as I am cross-posting here.

 

Anybody have any ideas as to what has changed?  It works fine in a web
application.

 

 

   MapGuideApi.MgInitializeWebTier(CurDir() + \webconfig.ini)

Dim userInfo As New MgUserInformation(Administrator, admin)

Dim site As New MgSite

site.Open(userInfo)

Dim sessionId = site.CreateSession()

 

Dim l_oSite As New MgSiteConnection()

l_oSite.Open(userInfo)

 

Dim l_oResourceIdentifier As New
MgResourceIdentifier(Library://MyMap/Maps/MyMap.MapDefinition)



'Create a temporary map to save for session

Dim l_oMap As New MgMap(l_oSite)

 

l_oMap.Create(l_oResourceIdentifier, MyMap)

 

  _  


 http://www.websoftdev.com/ 

 http://www.websoftdev.com/ 

 http://www.websoftdev.com/ 

Kori Maleski

Senior Application Developer

WEBSOFT DEVELOPERS, INC.

P: (530) 759-8754 ext 114

F: (530) 759-0923

[EMAIL PROTECTED]

  _  

 

 

image001.gif___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] trying to download tiling engine ---link fails

2007-07-27 Thread Kori Maleski
The download link is enabled for 24 hours once it is emailed to you.

Just re-apply for the download and another email will be sent.

Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Atika Sultan
Sent: Friday, July 27, 2007 3:52 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] trying to download tiling engine ---link fails

i tried to download the tiling engine through 
http://www.websoftdev.com/download.cfm ..it send a link to my inbox but i 
try to reach it it says ..link has been expired...  is there is anyother 
working link?...also i can't find the fix/patch mentioned onthe forum for 
removing the lines between tiled raster layers.can anyone help?

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] drawing polygon

2007-06-09 Thread Kori Maleski
As per Andy Morsell's comments previously:

This is available on the MapGuide OSGeo site already.  Go to the live
gallery (http://mapguide.osgeo.org/livegallery.html) and then the General
Tasks example (http://data.mapguide.com/mapguide/gt/index.php).  You can
download the full PHP source code.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anil Jose
Sent: June 9, 2007 5:51 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] drawing polygon

Hi,
Please help me by sending the code for drawing polygon on map

Thanks..
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] RE: RE: Scale orthos

2007-05-31 Thread Kori Maleski
Here:

http://myfeedback.autodesk.com/



Kori Maleski

 

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori Maleski
Sent: May 30, 2007 11:07 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] RE: RE: Scale orthos

It's not up on the ADN site.

You will probably have to be privy to the Autodesk Beta testing site.

Kori Maleski

 

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ivan Milicevic
Sent: May 30, 2007 10:43 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] RE: RE: Scale orthos

For ADN users?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim O'Leary
Sent: Wednesday, May 30, 2007 9:17 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] RE: RE: Scale orthos


There is a beta version for MapGuide Enterprise 2008 and Studio 2008.

Ivan Milicevic-3 wrote:
 
 Studio 2008???
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jim
O'Leary
 Sent: Wednesday, May 30, 2007 1:25 AM
 To: mapguide-users@lists.osgeo.org
 Subject: [mapguide-users] RE: Scale orthos
 
 
 Yes, the layer scale textbox in Studio. It is greyed out for my
 orthophotos
 in Studio 2007, but enabled in Studio 2008 beta.
 
 
 Andy Morsell wrote:
 
 Jim,
 Are you talking about the layer style scale range for an imagery
 layer? 
 Or
 something else? 
 
 
 Andy 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jim
 O'Leary
 Sent: Tuesday, May 29, 2007 9:01 AM
 To: mapguide-users@lists.osgeo.org
 Subject: [mapguide-users] Scale orthos
 
 
 Can you scale orthos in Studio 2007? The scale box is there, but is
 greyed
 out.
 
 Looks like you CAN scale in Studio 2008 beta, though.
 --
 View this message in context:
 http://www.nabble.com/Scale-orthos-tf3834872s16610.html#a10857004
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 
 
 -- 
 View this message in context:
 http://www.nabble.com/Scale-orthos-tf3834872s16610.html#a10864713
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 

-- 
View this message in context:
http://www.nabble.com/Scale-orthos-tf3834872s16610.html#a10880621
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] RE: MapGuide Automated Tiling Engine

2007-05-30 Thread Kori Maleski
Hi Maciek,

The reasoning behind the sx, sy, ex, ey is for cases where you wish to tile
only a certain section of a map at a specific threshold.

In the case where:

You have a map of large areal extents, such as a country or state level.
The map has large areas of water or other areas of non-vital importance.

Due to the amount of tiles that may be pre-generated for these non-vital
areas at large scale zoom thresholds, and the hard drive space and
processing time required, you may wish not to generate the tiles.

By using the sx/ex - Starting Tile Column/Ending Tile Column and sy/ey -
Starting Tile Row/Ending Tile Row - you may specify the row/column bounds of
the tile generation.

When you are generating the tiles with the engine, it will specify the
number of tiles for each row column.  Use this number and the map extents
specified in the Map Definition in Studio to determine a rough idea of where
to start or end your tiling.  The starting row/column is the upper left
corner of the map.

i.e.

 x1 x2 x3 x4...
y1
y2
y3
y4
.
.
.

Each of these parameters are optional and will default to the original
starting and ending row columns if not specified.


It is possible - since the row/columns have no reference to a projection or
coordinate system, that the engine be modified to accept real world
coordinates in order to specify a bounding box more readily.  Maybe in a
future release depending on feedback.


Cheers,










Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MaciekS
Sent: Wednesday, May 30, 2007 7:21 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] RE: MapGuide Automated Tiling Engine


Dear Kori.

Yesterday, after you gave me a tip how to use T.E., i generated lot of
tiles. It works fine!
Now I'm wondering how to use parameters sx, sy, ex, ey to reduce generating
of empty tiles.
What are criteria of using these parameters?

Regards, Maciek


Kori Maleski-3 wrote:
 
 Hi Maciek,
 
 This looks like an issue with the DLLs.
 
 Can you please detail where your installation of MapGuide is ( C, D or
 other
 drive), and if you are running the TilingEngine from its default
 installation folder?
 
  
 
 Please try the following:
 
  
 
 Backup the Tiling Engine folder.
 
 Copy the contents of your C:\Program
 Files\MapGuideOpenSource\WebServerExtensions\www\mapviewernet\bin folder
 to
 the Tiling Engine folder.
 
 Copy the file C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\
 webconfig.ini to the folder.
 
 
 
 Then try running the exe from the command line again.
 
  
 
  
 
 Let me know whether the issue persists.
 
  
 
 Cheers,
 
 
 
 
 
 
 Kori Maleski
 Senior Application Developer
 WEBSOFT DEVELOPERS, INC.
 P: (530) 759-8754 ext 114
 F: (530) 759-0923
 [EMAIL PROTECTED]
 
 
  
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of MaciekS
 Sent: Monday, May 28, 2007 4:01 PM
 To: mapguide-users@lists.osgeo.org
 Subject: Re: [mapguide-users] MapGuide Automated Tiling Engine
 
 
 Hi everyone!
 
 I tried to use tiling engine - fmtilingengine
 
 Unfortunatelly with no results. May you help me, what did I wrong?
 
 I called program: fmtilingengine -u Administrator -p *** -m 1014Tile
 
 My Error log:
 
 Title: Error
 Message: Failed to retrieve message for MgFileNotFoundException.
 StackTrace: Failed to retrieve message for MgFileNotFoundException.
 Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in
 file
 .\System\ByteSourceFileImpl.cpp
 
 Date/Time: 2007-05-29 00:33:05
 
 Title: Error
 Message: Failed to retrieve message for MgFileNotFoundException.
 StackTrace: Failed to retrieve message for MgFileNotFoundException.
 Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in
 file
 .\System\ByteSourceFileImpl.cpp
 
 Date/Time: 2007-05-29 00:33:08
 
 Title: Error
 Message: Failed to retrieve message for MgFileNotFoundException.
 StackTrace: Failed to retrieve message for MgFileNotFoundException.
 Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in
 file
 .\System\ByteSourceFileImpl.cpp
 
 Date/Time: 2007-05-29 00:33:09
 
 
 
 
 Regards, Maciek
 
 
 
 _
 Hi everyone,
 
  
 
 Websoft Developers is pleased to announce the availability of our free
 MapGuide tiling utility.
 
  
 
 You may download the installation file from the following link:
 
  
 
 Http://www.websoftdev.com/download.cfm  
 
  
 
  
 
 This is a command line utility that can be accessed via a windows console
 window or executed via a batch file.
 
 For those familiar with SDF Loader for MapGuide 6.5