Hello everyone,
I'm working on making modifications to the ajax viewer to fit the needs of
the company that I work for. What I am currently trying to do is load up a
dynamically generated web layout. Everything works until I get to the line
to create the web layout.
Here is the code that
While viewing/editing the layout xml in Maestro and Studio, I've found my
problem. It doesn't like my xml for the TaskBar items, even though they are
just copied and pasted from an existing layout.
--
View this message in context:
I am having this problem as well after using the Windows Installer for mgos
2.1
I opened index.html and changed the script path from fusionSF-compressed.js
to fusionSF.js and the error seems to be around line 23637
All that is displayed are blank panels no matter what template I use.
I am
just hit cancel when prompted to log in (a separate bug).
Craig
On Thu, Jan 14, 2010 at 11:15 AM, nclayton lord_j...@hotmail.com wrote:
I am having this problem as well after using the Windows Installer for
mgos
2.1
I opened index.html and changed the script path from
fusionSF
, i.e. Slate.ApplicationDefinition isn't
available on your MG Server.
Mike
nclayton wrote:
I'm not being prompted at all. I go to the address given in the
documentation
to test Fusion:
http://localhost:8008/mapguide/fusion/templates/mapguide/slate/index.html?ApplicationDefinition
Sadly, due to the constant crashes I am having to revert all of our maps back
to mapguide 6.3
hopefully things will smooth out more in future releases.
--
View this message in context:
http://www.nabble.com/MGOS-2.0.1-Crash-Issues-tp18943673p18981932.html
Sent from the MapGuide Users mailing
wrote:
That is to bad. It might have been something easy to fix. Was you
installation patched to fix the Firefox 3 crash bug?
The Rock
On Thu, Aug 14, 2008 at 8:53 AM, nclayton [EMAIL PROTECTED] wrote:
Sadly, due to the constant crashes I am having to revert all of our maps
back
, 2008 at 12:22 AM, nclayton [EMAIL PROTECTED] wrote:
yeah, I had that in place. It's odd that some of these errors only
started
happening on this new box which has a lot more horsepower than the
previous
one.
i'm going to keep mgos installed and try to do some testing to try to
figure
out
flawlessly. It's only after it's been used by the public for some time (but
not all that long...15 - 30 minutes) and it crashes.
zspitzer wrote:
how do they perform if you remove the rasters ?
On Fri, Aug 15, 2008 at 1:23 AM, nclayton [EMAIL PROTECTED] wrote:
The old server is no longer in use so
:
If you are using PHP could you try Apache listening on port 80 instead of
IIS?
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of nclayton
Sent: Thursday, August 14, 2008 9:51 AM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide
I keep forgetting to mention this...
I am using the AJAX Viewer
--
View this message in context:
http://www.nabble.com/MGOS-2.0.1-Crash-Issues-tp18943673p18963152.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
We just upgraded our hardware and after a fresh install, I am now getting
mgserver.exe crashes with the errors below. Anyone have any idea on what
could be causing these?
Also, the server specs are:
Win2k3 Standard Server
2 Quad Core 2.33GHz CPUs
4GB RAM
In IIS6 I have created an application
More Information:
I am also running AutoDesk MapGuide 6.3...we are in a transitional phase,
slowly moving our client's maps to MGOS. If I read correctly, these are
supposed to be able to run side-by-side. If this could be a source of my
problems, then I can push forward on the conversion process
You can use the administration interface to change the location for your
repository folders. So I would suggest installing the server in the default
location to save a little headache then copy the repository folder the new
location and change the path inside the admin area.
jamesdudden wrote:
Did you use the bundled PHP package or one that you downloaded?
If you haveother PHP versions set up, you may need to remove them to keep
MapGuide from getting confused.
Berdel, Brian wrote:
Hello all,
I have 2.0.1 installed on my development machine, but have been unable
to get the web
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of nclayton
Sent: Thursday, July 31, 2008 8:47 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] 2.0.1 install server 2003
Did you use the bundled PHP package or one that you downloaded?
If you haveother PHP versions
Thank you for pointing this out Ronnie, doubt I would've found them myself.
Kind of a harsh workaround, significant modification to my code for
something that looks like it will be gone in the next update. I'll post my
workaround code here for anyone else needing the fix.
Ronnie Louie wrote:
Here is my altered code to incorporate the workaround:
=
function GetObjKeys($sessId,$mapName,$sel,$scnt){
$obj_keys = '';
if($sel != ''){
InitializeWebTier();
$userInfo = new MgUserInformation($sessId);
$siteConnection =
Hi all,
This has just recently become a problem. I am passing the selection xml to a
page to display parcel owner data. For an example, I select 256 parcels on
the map. The selection xml comes over fine, with all 256 parcels listed.
When I use a featureReader to get the parcel numbers from the
Hmmm, I haven't had to deal with hyperlinking in mapguide (yet), but I would
think that you could assign a hyperlink to each feature that points to a
page (asp.net,php or jsp) that can generate the document on-the-fly to
present to the users. Just be sure that when you store the data, you also
from client's JavaScript. I also noticed
described
reader mishaps while using Autodesk's MS SQL provider. What RDBMS are you
using?
Regards,
Maksim Sestic
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of nclayton
Sent: Monday, July 21, 2008 17
it.
nclayton wrote:
Hi all,
This has just recently become a problem. I am passing the selection xml
to a page to display parcel owner data. For an example, I select 256
parcels on the map. The selection xml comes over fine, with all 256
parcels listed. When I use a featureReader to get
No change, stll only getting 20 of the records...
I've changed SelectionFilterSize in both serverconfig.ini and webconfig.ini
and restarted the service.
Don C. MacGregor wrote:
You also need to modify the SelectionFilterSize value in webconfig.ini
file.
--
View this message in
I have made a lot of customizations to the AJAX Viewer to fit the needs of
the company I work for.
One of the things that I haven't had a lot of luck with is the removal of
some pages that I do not need but it seems that the viewer needs them for
some reason.
These pages are:
legend.php
been trying to get
dbconvert installed on my computer and i was messing around with some
things...
I will have to reinstall php because it is no longer on my computer. what
version should i be looking for?
nclayton wrote:
If you're seeing that code in the page when you view
I've been dealing with this since MGOS 1.2 and continue to have the problem
in 2.0.1
In the Application Error log, i'm getting:
===
Faulting application mgserver.exe, version 2.0.0.2716, faulting module
msvcr80.dll,
Try using the full URL instead of a relative path.
If your home page is inside the mapviewerajax folder, then you would just
need to set the
URL for home task displayed in the Task Pane to page.ext, like home.php
so instead of entering /mapguide2009/site/index.htm try
!
No MapGuideJavaApi found in java.library.path
Can you help me?
Many thanks
nclayton wrote:
Are you pointing to the right java libraries?
I have gotten similar errors in the past using php when I did not have
the mgos specific php library loaded.
gimbrogno @smartlab wrote:
Hi, I
When creating a new raster data connection after upgrading to 2.0.1, I am
getting the error message:
An exception occurred in FDO component.
Multiple Coordinate Systems defined for Feature class 'default'
This is only happening on my production server, I am able to add raster
connections fine
and
recreate the ecw files?
nclayton wrote:
When creating a new raster data connection after upgrading to 2.0.1, I am
getting the error message:
An exception occurred in FDO component.
Multiple Coordinate Systems defined for Feature class 'default'
This is only happening on my production
I've resolved the issue. After trial and error I found some ecw files that
were not related to the other ecw files, so were in effect providing
multiple default coordinate systems.
Removed the offending files and all is well now.
nclayton wrote:
It seems to be only one of my raster
When creating your raster data connections, use / instead of \ in your
paths.
C:/Program
Files/MapGuideOpenSource2.0/WebServerExtensions/www/mapcatalogue/data/world.ecw
instead of
C:\Program
Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapcatalogue\data/world.ecw
it may also be a
You can use Shift+Click in Windows IE and FireFox
Don C. MacGregor wrote:
Hi all,
Is there any way to add the features to current selection in MGOS? just
like Cntrl OR shift + click in most of the windows applications.
Thanks
Sent: Wednesday, June 11, 2008 6:23:30 PM
Subject: Re: [mapguide-users] ecw on mgos-2.0.1
Thanks for your reply. That's help me to solve my problem.
Regards,
Ary Sucaya
- Original Message
From: nclayton [EMAIL PROTECTED]
To: mapguide-users@lists.osgeo.org
Sent
I am having this exact same problem. I am using php and the ajaxviewer.
I was able to store the weblayout in Library:// but get 'Permission denied'
when trying to store in Session:
Here is my code:
function loadWebLayout($sid,$svc){
$lyt = XML
weblayout xml here...
XML;
$dom = new
, GEOGRAF A/S wrote:
I belive that MapGuide runs in the System account, so it has full
access.
Are you certain that $sid is the same sessionid as the connection has?
You cannot save to another session (perhaps the Administrator can?).
Regards, Kenneth Skovhede, GEOGRAF A/S
nclayton skrev:
I
. If not, the
ajax viewer does not display maptips.
So it was my misunderstanding of the function calls.
nclayton wrote:
I am working on making some changes to the Measure tool (add rubber-band
effect, show feet if 1 mile, etc.) and noticed that my MapTips stopped
working after using the Measure
I'm not sure if there's a prefered method of doing this, but someone had
requested I share my Feet/Miles conversion code. All looks well for my
purposes, but by all means poke some holes in it. This was not set up with
localization in mind, since our target audience uses US Survey Feet.
Hmmm...something's not lining up right.
Here are my test values:
Start Point
x1 = 782968.222103
y1 = 1774880.116909
End Point
x2 = 783044.338
y2 = 1774867.244367
I used this formula in php:
$distance = sqrt(pow($x1 - $x2,2.0) + pow($y1 = $y2,2.0))
This gave me a value of 77.19671051057
:
It's either a pretty interesting coincidence that 23.529 / 77.196 =
0.3048, or else it's a units problem you've got (feet vs meters). 1 foot
= 0.3048m.
Andrew
nclayton wrote:
Hmmm...something's not lining up right.
Here are my test values:
Start Point
x1 = 782968.222103
y1
Things look good. Thank you all for your input.
So the final formula is: Math + Mapping me
But I am now able to reliably place measure segment length out while it is
being drawn (I am using the wz_jsgraphics library to draw a rubber-band
between the click start point and the mouse cursor).
--
I'm working on making some changes to the Measure tool (add rubber-band
effect, show feet if 1 mile, etc.) and noticed that my MapTips stopped
working after using the Measure tool. I checked on our production server
which is currently 2.0.0 and this isn't happening.
Since there is some
I'm trying to reproduce the function being called in php to measure the
distance between the two points of the measure tool in javascript so that I
can display the current distance while a user is picking a second point on
the map. So far the formula I have tried is not producing the same result
I'm using the batch file apporach as well. I have it scheduled to run every 6
hours to clear out the memory used.
Here is the batch file I use:
==
taskkill /F /FI SERVICES eq MapGuideServer2.0
net stop MapGuideServer2.0
net
is being
served. Is MGOS capable of serving many different maps to many people at a
time out of the box? Are there any other tweaks or recommendations for
improving memory use?
Thanks again.
nclayton wrote:
I've modified the serverconfig.ini connection timeout settings so am going
to watch
/templates/mapguide/slate/
(busted)
http://data.mapguide.com/mapguide/phpviewersample/ajaxtiledviewersample.php
(works, might be mge tho)
http://mapguidebeta.osgeo.org/mapguide/fusion/templates/mapguide/slate/index.html
(working)
z
On Tue, Apr 29, 2008 at 2:19 AM, nclayton
Hi all,
I have been having problems with MGOS 2.0 crashing on me to the point that i
was using a script to restart the service every 30 minutes.
I resolved part of the problem by changing how one of my layers was
rendered.
But, after running without a restart for about 2 days I got the
have been having had similiar problems
can you share what you did to the layer rendering? tiled or untiled?
z
On Mon, Apr 28, 2008 at 10:48 PM, nclayton [EMAIL PROTECTED] wrote:
Hi all,
I have been having problems with MGOS 2.0 crashing on me to the point
that i
was using a script
the amount of memory being
used? Such as programatically close connections or something? Right now the
service is set to restart every 4 hours...which should remove the used
memory, but at the price of losing user sessions which is what I'm trying to
avoid.
nclayton wrote:
Hi all,
I have been
I seem to have solved the underlying problem (finally) :D
I have maps for multiple counties, and each one has a layer that represents
city limits.
Some of these polygons had a fill value of Shape16 and others (don't ask
why...) had a fill value of Shape31. I changed these all to Solid and I
Hi everyone.
I have an issue of mgserver.exe crashing with Event ID: 0 errors, and the
only solution that I have found to this problem is to schedule a batch file
to run to kill the service then restart it.
It's currently set to run every 30 minutes and I may need to reduce the time
more...
My
.
And this is the only Failure in the Access.log for the time period:
2008-04-09T14:24:31 Anonymous
QueryFeatures.1.0.0:7(Session:6d816b5e--1000-8000-00034732c825_en_7F010AFC0AFB0AFA//county.Map,MgStringCollection,MgGeometry,4,,1,5)
Failure
nclayton wrote:
Hi everyone.
I have
You should be able to grab the session value from $_POST['SESSION'].
If it is not being passed, you will need to make changed so that the value
does get passed.
The source of this variable is in one of the *.templ files you use from the
\MGOS Install
Hi all,
I am trying to get rolling with MGOS2 and am not able to get ECW files to
display. These worked in MGOS 1.2
I have tried everything that I've found in the forum:
Replaced gdal14.dll (version 1.4.3) with gdal14.dll (version 1.4.4)
Placed libecwj2.dll in C:\Program
Hi everyone,
I'd noticed in working with MGOS (1.2 and 2.0) that the zoom rectangle tool
seemed a bit off, in that
I would create a rectangle around and area and it would actually zoom in
closer than I felt it should.
This may have been an intentional action, but for my needs, I needed it to
I changed the subject to reflect the latest details on my issue.
Here are the specifics of the issue:
I have a layer for raster images that I have named aerial. This layer
points to a folder on the server that contains 594 ecw files that total
17.6GB in size.
I have the max visible range for
.
andrew.demerchant wrote:
Without looking at your code, I'm wondering if maybe your raster image
layer is above your other layers. I'd check your layer ordering. I know
how to do that in Mapguide Studio or Web Studio, but not so sure using
code.
Andrew
nclayton wrote:
Hi all,
I am trying
Hi all,
I am trying to add functionality to toggle raster images on and off to my
map. I have the raster images on a layer called aerial. I am calling a php
page with the following function call in the scriptFrame:
toggleLayer($sessionId,$mapName,aerial);
The function is:
\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\common\manager\FdoConnectionManager.cpp
/body
/html
-
nclayton wrote:
A little more info on the situation...if I toggle the raster layer on
while I am outside of its visibility range, the other layers are still
visible. Once I get within range
, the layers are not visible again until I begin a new
session.
nclayton wrote:
It is at the very bottom of the drawing stack. The layer is pulling from
an aliased folder on the server and contains 595 ecw files. I'm not sure
if that could be a factor in this issue, especially since the layers do
functions not being
compatible.
What appears to be different about the two encodings?
If they truly are different, it is very easy to write your own base64
encoding/decoding functions.
Regards, Kenneth, GEOGRAF A/S
nclayton skrev:
Hi everyone,
Here is my situation:
I am hacking
sure you want to be using a string value for the parcel id?
Jason
-Original Message-
From: nclayton
Subject: Re: [mapguide-users] Issues selecting a feature with custom
coding
Here are the results of both the mgos base64 value and the php
base64_encode
value:
Actual FeatId
62 matches
Mail list logo