[mapguide-users] RE: Another Fusion Question scalebar this time.

2011-11-09 Thread Berg, Leandros van den [FGSBV]
Jamo,
 
I'm glad it worked. Thanks for having a look at my problem as well. Your 
solution also worked for me, but only for Internet Explorer. Firefox is still 
giving me the A parameter or an operation is not supported by the underlying 
object exception for scalebartool.js.
 
I'm going to switch to the other post now and put your solution there as well. 
Maybe you have an idea what this exception is about.
 
Kind regards,
 
Leandros
winmail.dat___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

2011-11-09 Thread Berg, Leandros van den [FGSBV]
Thanks to Jamos' solution in his post
(http://osgeo-org.1803224.n2.nabble.com/Another-Fusion-Question-scalebar
-this-time-tp6972608p6976316.html), he managed to solve the TypeError
and the Scalebar widget works properly now in Internet Explorer.
However, the NS_ERROR_DOM_INVALID_ACCESS_ERR error remains in Firefox.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: MapGuide Maestro 4.0 RC1 now available

2011-11-09 Thread GordonL
HI Jackie,
having some MONO issues.  What version do you suggest? 
Getting Data is Invalid in Maestro

thanks
gordon


--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MapGuide-Maestro-4-0-RC1-now-available-tp6974958p6977800.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] Re: Offset Vector Layer in Chrome with MapGuide

2011-11-09 Thread GordonL
Hi Crispin,
this is a FUSION Stylesheet issue I think.  It only occurs with Aqua
template within an IFRAME.  

And, yes, it is the width of the toolbar at the top, its like the map is
offset by that width/height.

The problem is with Measure tool, any digitize (using MapGuideViewerApi.js)
and any OpenLayers drawing with Aqua in an IFRAME.

gordon


--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Offset-Vector-Layer-in-Chrome-with-MapGuide-tp6964651p6977967.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] Re: Offset Vector Layer in Chrome with MapGuide

2011-11-09 Thread GordonL
Ok just so I know its not my server, at random, I selected 3 different public
web sites (I just did an ALLINURL:mapguide/SLATE search in google.

These 3 sites all cause issues in chrome.  I don't know the verison of
MapGuide they are running, but it is consistent across the board.

iframe id=iMapFrame
src=http://62.182.31.78:8008/mapguide/fusion/templates/mapguide/turquoiseyellow/index.html?ApplicationDefinition=Library://Samples/komi/Kortkeros/maps.ApplicationDefinition;
width=100%  height=100%


iframe id=iMapFrame
src=http://caldemo.otxsystems.com/mapguide/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition;
width=100%  height=100%

iframe id=iMapFrame
src=http://cmnmaps.ca/mapguide2011/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library%3a%2f%2fCOWICHAN%2f5_LAYOUTS%2fFLEX_CVRD.ApplicationDefinition;
width=100%  height=100%

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Offset-Vector-Layer-in-Chrome-with-MapGuide-tp6964651p6978182.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] Re: Client side way to get FEATID's from FDO?

2011-11-09 Thread tmblackflag
FEATID is an identity property and lives in a RDBMS. It is a primary key and
is indexed and table is only 250 records right now.

It takes a total of 7-8 seconds to post to the db, get the feat id, then
connect to the DB to update the coordinates for the associated label point.

What i was really trying to do was give them 4 directional arrows so they
could move label points as they please. Since this is slower, I may have
them select the label point they want to move, then digitize a new landing
point and then update the existing record. That would probably be faster
than using arrows to move the point a few x/y coordinates at a time.
 

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Client-side-way-to-get-FEATID-s-from-FDO-tp6976596p6978659.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: Client side way to get FEATID's from FDO?

2011-11-09 Thread Martin Morrison
2 comments.

First, do I read this correctly that you are updating each move every time the 
user hits the arrow key?  If so, don't do that.  Let the user click once where 
they want it to go and move it once.

Second, 250 indexed records should be smoking fast.  Are you sure you have the 
code written efficiently and the database optimized?

Martin Morrison
Application Engineer
Engineering Design Systems, Inc.
3780 Peters Creek Rd Ext SW
Roanoke, VA  24018
540.345.1410
gis.edsi.com


-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of tmblackflag
Sent: Wednesday, November 09, 2011 12:13 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Re: Client side way to get FEATID's from FDO?

FEATID is an identity property and lives in a RDBMS. It is a primary key and
is indexed and table is only 250 records right now.

It takes a total of 7-8 seconds to post to the db, get the feat id, then
connect to the DB to update the coordinates for the associated label point.

What i was really trying to do was give them 4 directional arrows so they
could move label points as they please. Since this is slower, I may have
them select the label point they want to move, then digitize a new landing
point and then update the existing record. That would probably be faster
than using arrows to move the point a few x/y coordinates at a time.
 

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Client-side-way-to-get-FEATID-s-from-FDO-tp6976596p6978659.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: Client side way to get FEATID's from FDO?

2011-11-09 Thread tmblackflag
1) Yes but i'm switching it over to a one click move as recommended.
2) The feature source was created via Map 3d's schema editor with all keys
and indexes automatically created by the tool. I've verified everything is
there. Here is my complete server side code to make this happen. While it
currently is written for the arrow key move, performance wise i still see it
taking 6-8 seconds to complete with them clicking where they want it since i
still have to look up the FEATID and run an update statement in the
database. As a side note, i have a separate process that inserts lines
(completely skips use of the feature reader) and it only takes 3 seconds. 


protected void MoveLabelPoint(string mgSessionId, string mapName, string
selectionXML, string direction)
{

InitializeWebTier();

MgUserInformation userInfo = new MgUserInformation(mgSessionId);
MgSiteConnection siteConnection = new MgSiteConnection();
siteConnection.Open(userInfo);

MgResourceService resService =
(MgResourceService)siteConnection.CreateService(MgServiceType.ResourceService);
MgFeatureService featureService =
(MgFeatureService)siteConnection.CreateService(MgServiceType.FeatureService);

MgMap map = new MgMap();
map.Open(resService, mapName);

//get FEATID information for selected feature (point)
MgSelection selection = new MgSelection(map, selectionXML);
MgLayer layer = (MgLayer)map.GetLayers().GetItem(Markup);
string strLayerClassName = layer.GetFeatureClassName();
string strSelection = selection.GenerateFilter(layer,
strLayerClassName);
MgFeatureQueryOptions nameQuery = new MgFeatureQueryOptions();
nameQuery.SetFilter(strSelection);
MgResourceIdentifier resID = new
MgResourceIdentifier(Library://DATA CONNECTIONS/My.FeatureSource);
MgFeatureReader featureReader = featureService.SelectFeatures(resID,
strLayerClassName, nameQuery);
string strFeatID;
if (featureReader.ReadNext())
{
strFeatID = featureReader.GetInt64(FEATID).ToString();

switch (direction)
{
case UP:
DataSource.UpdateCommand = UPDATE MYTABLE T SET
T.GEOM.SDO_POINT.Y = T.GEOM.SDO_POINT.Y + 10 WHERE FEATID= + strFeatID;
break;
case DOWN:
DataSource.UpdateCommand = UPDATE MYTABLE  T SET
T.GEOM.SDO_POINT.Y = T.GEOM.SDO_POINT.Y - 10 WHERE FEATID= + strFeatID;
break;
case LEFT:
DataSource.UpdateCommand = UPDATE MYTABLE  T SET
T.GEOM.SDO_POINT.X = T.GEOM.SDO_POINT.X - 10 WHERE FEATID= + strFeatID;
break;
case RIGHT:
DataSource.UpdateCommand = UPDATE MYTABLE  T SET
T.GEOM.SDO_POINT.X = T.GEOM.SDO_POINT.X + 10 WHERE FEATID= + strFeatID;
break;
}

DataSource.Update();
bodyID.Attributes.Add(Onload, RefreshMap(););
}
else
{
Response.Write(FEATID not found in Mapguide datasource.);
}
}

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Client-side-way-to-get-FEATID-s-from-FDO-tp6976596p6978710.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] MapGuide 64 Bit Apache

2011-11-09 Thread GordonL
Hi All,
Does anyone know where I can find the 64 bit APXS (windows) for Apache -
there must be one if Apache is built in 64 bit windows?  

I want to make a *SO* file out of this
http://people.apache.org/~pquerna/modules/mod_flvx.c

any tips with the 64 bit windows version of Apache that is with MapGuide?

thanks
gordon


--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MapGuide-64-Bit-Apache-tp6980282p6980282.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] Re: MapGuide 64 Bit Apache

2011-11-09 Thread Jackie Ng
We keep the binaries for Apache under the Installer.

http://trac.osgeo.org/mapguide/browser/branches/2.2/Installer/Support/Web/x64/Apache2

IIRC, these binaries were sourced from apachelounge. Memory is a bit fuzzy.

It contains headers/libs as well, so you should be able to build your httpd
modules against this if need be.

Note that trunk version of this is currently empty because of some yet to be
completed installer work.

- Jackie

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MapGuide-64-Bit-Apache-tp6980282p6980338.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] Re: MapGuide 64 Bit Apache

2011-11-09 Thread GordonL
Thanks Jackie,
I thought you could track it down.  
Do you know where I can find APXS for Windows 64?  

There is a download on the apachelounge for 32bit windows...but not 64.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MapGuide-64-Bit-Apache-tp6980282p6980348.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] Re: Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

2011-11-09 Thread Jamo
Berg I think I'm on a roll this might be the reason i've never had fusion
working in firefox :)

modify the Scalebar.js


to


I'm guessing NS_ERROR_DOM_INVALID_ACCESS_ERR is thrown because the url is
not well formed ?? works for me now :)

Hope this does it for you

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Scalebar-TypeError-Fusion-Error-and-NS-ERROR-DOM-INVALID-ACCESS-ERR-tp6917184p6980719.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