[mapguide-users] Fusion GetParent function

2011-08-29 Thread Warren Medernach
Hello all,

I've have to implement some 'hacks' to get the GetParent function to work on
a few widgets when Fusion is wrapped in a web app frame.
This got me thinking...  Is there a reason why the GetParent function is
local to every widget that calls it?
Would it not make sense for this to be a global function at the application
level?

Just some thoughts

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


[mapguide-users] Layers grayed out and un-selectable

2011-07-29 Thread Warren Medernach
Hello all,

I've got some text layers that are basically point data sources, in SQL
Server 2008, with the point display turned off and the feature label
enabled.  In the Fusion viewer these layers are grayed out and cannot be
toggled on/off.  However in the Basic AJAX viewer, the layers appear as
expected where I CAN toggle on/off the layer?

Any ideas/suggestions?

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


Re: [mapguide-users] Supported version of MapInfo Tab file format

2011-06-21 Thread Warren Medernach
Hi Bo,

The OSGeo OGR Provider has support for tab files:
http://www.gdal.org/ogr/ogr_formats.html

There is no mention of what versions it supports though.

Warren M

On Tue, Jun 21, 2011 at 8:07 AM, Bo Victor Thomsen  wrote:

> To the list -
>
> Do anyone know which version of MapInfo tab file format the MapGuide FDO
> providers (3.4 and 3.5) support ?
> Is it MapInfo ver. 6.0, 6.5 or later?
>
> Regards
> Bo Victor Thomsen
>
> --
>
> Med venlig hilsen
>
> Civ.Ing.
> Bo Victor Thomsen
> Geograf A/S
>
> __**_
> 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] GetParent().Fusion is undefined

2011-02-16 Thread Warren Medernach
Hi Emily,

This is how I hacked a solution to something similar, so this might be of
some help:
http://geospatialworld.blogspot.com/2010/08/im-back.html

Warren M


On Wed, Feb 16, 2011 at 10:56 AM, Emily LaMunyon  wrote:

>
> Hello,
>
> I have searched extensively for the solution to this problem with no luck
> so
> far.
>
> I have a Mapguide Enterprise 2011 Fusion layout using the Aqua template and
> am trying to target a built-in search in the Task Pane, using Studio. The
> search criteria appears in the Task Pane, but when the selected feature is
> clicked, the map does not zoom to it.
>
> In Firebug, I get an error reading:GetParent().Fusion is undefined  in
> fusion/widgets/Search/Search.php for the following function that is in
> Search/Search.templ:
>
>  function CellClicked(sel)
> {
>  var map = GetParent().Fusion.getMapByName(mapName);
>  map.setSelection(sel, true);
> }
>
>
> When I target a new window, the search works fine. Does anyone have any
> insight?
>
> Thanks!
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/GetParent-Fusion-is-undefined-tp6032577p6032577.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] MGE performance. It's soooooo Slllllllooooooowwww

2011-01-28 Thread Warren Medernach
Something else I've found is that you just cannot show as much data in the
initial view in MGE like you could in MG6.x.  I've seen many MG6.x sites
that had dozens of layers turned on in the initial view that just made no
sense to be on at that view scale.  But... the old technology handled it
fine, so people expect the new technology to behave exactly like the old
one.

I guess what I'm trying to say is, you need to be much more 'prudent' with
your display ranges, and what layers really need to be turned on, in MGE to
get decent performance.

Warren

On Fri, Jan 28, 2011 at 1:49 PM, Martin Morrison
wrote:

> I agree on using the AJAX viewer.  Put the data in SQL server, index the
> geom, use AJAX and fly...if you need help, let me know.
>
>
>
> Martin Morrison
>
> Application Engineer
>
> Engineering Design Systems, Inc.
>
> 3780 Peters Creek Rd Ext SW
>
> Roanoke, VA  24018
>
> 540.345.1410
>
> gis.edsi.com
>
>
>
> *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
> mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Andrew DeMerchant
> *Sent:* Friday, January 28, 2011 1:58 PM
> *To:* MapGuide Users Mail List
> *Subject:* Re: [mapguide-users] MGE performance. It's soo
> Slllooo
>
>
>
> What, specifically, can't you do with the AJAX viewer? I've certainly
> noticed the serious performance slowdown with Fusion (vs AJAX), which is why
> I'm still using the AJAX viewer, myself. My suggestion would be to try to
> figure out if you really can't do what you'd like with the AJAX viewer (if
> it's fast enough for you, I mean).
>
> Andrew
>
>
> On 11/01/28 2:05 PM, frosty1_4me wrote:
>
>
>
> Hi,
>
>
>
> We have been working on a complete migration from 6.5 to MGE as a pilot to
>
> see if we can actually move to the new platform since the 6.5 software is no
>
> longer supported.
>
>
>
> We have brought across everything from our 6.5 app to the new MGE framework
>
> (using fusion due to the required functionality), we have also made alot of
>
> changes in an attempt to speed up our data.  We currently use SQL for our
>
> db's, but we've went so far as to setup static tables instead of news in the
>
> db, we have also imported data and stored in directly in the SDF's to try
>
> and speed things up, but nothing we have tried really makes a difference.
>
> The performance of MGE using Fusion is unbelievabley slow and there doesn't
>
> seem to be anything we can do.
>
>
>
> Take for example a simple SDF3 of parcels.  We created an SDF3 that has
>
> about 23k parcels and instead of linking it to a db, we attached the data to
>
> the parcels in an attempt to speed up the flyouts in MGE.  The data is only
>
> a simple ID, and another db field for testing purposes.  We used the tooltip
>
> method in MGE and we also tried using an aspx page to load the simple
>
> dataset instead of the tooltip directly accessing the data from the
>
> attribute list in MGE.   The results were the same, slow flyout loading
>
> times.  To make things worse, if we turned on a layer which has alot of
>
> data, then tested the flyouts again for the parcels, it takes about 15secs
>
> for the flyout to appear.  Obviously thats not acceptable.
>
>
>
> I don't know what else we can do with all of this.  The performance of MGE
>
> is absolutely horrible, and after using 6.5 for so long we actually are
>
> considering going to a completely different GIS software. (Esri?)
>
>
>
> How are others dealign with this performance issue?  The basic AJAX viewer
>
> is faster, but you also don't have the tools and flexablitly that you do
>
> with the Fusion setup.
>
>
>
> Thanks.
>
>
>
> --
> --
>
> [image: GEMTEC Limited] 
>
> *Andrew DeMerchant*
>
> tel: 506.453.1025  /  toll-free: 1.877.243.6832
> fax: 506.453.9470
>
> ___
> 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: SQL Server data visibility is intermittent

2010-11-24 Thread Warren Medernach
Hey Gordon,
Yes, it does seem like this might be related to the issue you're having.

Jackie, the initial view is -84,84 lat, and I've also checked the WKT of all
the features and I don't see any values outside the -90,90 lat.

Warren

On Wed, Nov 24, 2010 at 9:33 AM, GordonL
wrote:

>
> Hi Warren,
> my problem with the Selection has to do with the FDO Provider for SQL
> Server
> Spatial data.
>
> I think the GetSelectionProperties.php is hanging up on the minx/maxx etc
> from the FDO Provider for SQL Server on my issue..
>
> I think this is related to the same issues you are having.
>
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/SQL-Server-data-visibility-is-intermittent-tp5767786p5770757.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] SQL Server data visibility is intermittent

2010-11-23 Thread Warren Medernach
Hello all,

MGOS 2.2 (Version 2.2.0.4829)
Win XP & IIS (VM XP Mode)
SQL Server 2008 on host

I'm seeing some weirdness with data coming from SQL Server which I think
might be related to the Geography data type.
No data will show up at the initial map load zoom scale, but if I zoom in a
bit it will show up.
There are no display ranges set, and this is a very simple data set.

The error in the log file is as follows:

<2010-11-23T11:47:20> 372 Fusion Viewer 127.0.0.1 Anonymous
 Error: Failed to stylize layer: My_Layer_Name
An exception occurred in FDO component.
RDBMS: [Microsoft][ODBC SQL Server Driver][SQL Server]A .NET
Framework error occurred during execution of user-defined routine or
aggregate "geography":
System.FormatException: 24201: Latitude values must be between -90
and 90 degrees.
System.FormatException:
   at
Microsoft.SqlServer.Types.GeographyValidator.ValidatePoint(Double x, Double
y, Nullable`1 z, Nullable`1 m)
   at Microsoft.SqlServer.Types.Validator.BeginFigure(Double x,
Double y, Nullable`1 z, Nullable`1 m)
   at Microsoft.SqlServer.Types.For
 StackTrace:
  - MgMappingUtil.StylizeLayers() line 831 file
c:\builds\mg22win32\mgdev\server\src\services\mapping\MappingUtil.cpp

There is no data outside -90 & 90, and when the table is viewed in the
SSMS Spatial Results view, the data resides between a bbox somewhere in the
neighborhood of: -160,-42 & 160, 70

If the original SHP data is used there are no display issues, and I can view
this data in a number of other viewers.

Any thoughts?

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


Re: [mapguide-users] Layer from view beomes unselectable

2010-11-15 Thread Warren Medernach
Hi Sean,

Does your view have a UID?
The selection problems from dbs often comes back to a lack of UID defined.

Hope this helps.

Warren M

On Mon, Nov 15, 2010 at 1:40 PM, Sean Gibson  wrote:

>
> I have exported shapefiles to SQL and then created views to drive dynamic
> financial indicies. When the source of the layer in Mapguide is the SQL
> table, the layer is selectable. When I switch it to the view (and check all
> of the fields that are available) the layer becomes unselectable.
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Layer-from-view-beomes-unselectable-tp5741188p5741188.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: URL Activated For Feature

2010-09-16 Thread Warren Medernach
Try:

concat('http://localhost/Valve Sketch Boundary/', JOINED)

Warren


On Thu, Sep 16, 2010 at 5:07 PM, Mark Hedges <
hedg...@cityofnorthlasvegas.com> wrote:

>
> Warren,
>
> I have the following properties:
>
> 1)   JOINED (ex: 19-1-6.pdf)
> 2)   LINK_ (ex: 19-1-6)
>
> Which would you use?
>
> I'm sorry but I'm not very good with expressions.  Could you please write
> exactly what I would need to do.
>
> I'm guessing it would look like this: Concat('http://localhost/ValveSketch
> Boundary/[I DO NOT KNOW]
>
> Thank you very much for your help,
>
> Mark
>
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/URL-Activated-For-Feature-tp5540681p5540804.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] URL Activated For Feature

2010-09-16 Thread Warren Medernach
Hi Mark,
Is there a property on your data source that corresponds to the 1-5000
values?
If so, you can concat together a URL string to include the property.

ie, might look something like:
   concat('http://localhost/Valve Sketch Boundary/', ,
'.pdf')

Hope this helps
Warren M

On Thu, Sep 16, 2010 at 4:33 PM, Mark Hedges <
hedg...@cityofnorthlasvegas.com> wrote:

>
> Hi All,
>
> I have a Directory called PDF.  It is located at C:\PDF on my hard drive.
> This directory contains approximately 5,000 differently named PDF files.
> Using IIS I have set up a Virtual Directory called "Valve Sketch Boundary".
> The path for this directory is C:\PDF.  In MG Studio I have a layer created
> and in the URL Activated For Feature I have the following:
> 'http://localhost/Valve Sketch Boundary/1.pdf' (The 1.pdf is the name of
> the
> first of approximately 5,000 other PDF files.  Using MGOS I press Ctrl +
> select and the PDF file opens fine.  My issue is that I don't want to open
> the 1.pdf file everytime.  I want it to fire off the correct pdf file.  I
> have spent all afternoon searching this site and online and can't figure
> this out.
>
> Any Help Would Be Greatly Appreciated.
>
> Mark
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/URL-Activated-For-Feature-tp5540681p5540681.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] Point feature creation

2010-08-26 Thread Warren Medernach
Hello Sanpet,
Yes, for data residing in X,Y columns in 'any' datasource/database, the
connection must be through ODBC.  You could also create point data to a
spatial database though.

Warren

On Thu, Aug 26, 2010 at 8:09 AM, sanpet  wrote:

>
> Hello,
>
> To create point features, must connection to non-spatial databases be via
> the ODBC FDO Provider? For example, connecting to SQL Server using the SQL
> Server FDO Provider doesn't seem to function well (no Geometry column).
>
> Thanks
>
> Sanpet
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Point-feature-creation-tp5465722p5465722.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: Fusion and mulitple maps

2010-08-17 Thread Warren Medernach
Sorry, additional details:
MGE 2011 on IIS


To: MapGuide Users Groups 

Is anybody using the multiple maps option in Fusion?, ie the Maps pulldown
menu

I just tried this out with a couple maps but whenever I change maps Fusion
throws a message:
Fusion Error:
AppDef initial view is outside map maxExtent, resetting initialView to
maxExtent

The Map extents are set identical on both maps, so I'm not sure what it is
referencing for the initialView or the extents it's attempting to calculate?

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


[mapguide-users] Fusion and mulitple maps

2010-08-17 Thread Warren Medernach
Is anybody using the multiple maps option in Fusion?, ie the Maps pulldown
menu

I just tried this out with a couple maps but whenever I change maps Fusion
throws a message:
Fusion Error:
AppDef initial view is outside map maxExtent, resetting initialView to
maxExtent

The Map extents are set identical on both maps, so I'm not sure what it is
referencing for the initialView or the extents it's attempting to calculate?

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


Re: [mapguide-users] Re: Refresh map only

2010-08-16 Thread Warren Medernach
Thanks Jackie!
That helped...  I created a function to call ExecuteMapAction from the
correct frame, and then I used the window.setInterval to call that function.

Now that its at least working, I'll poke around and see why the call to
Refresh() seemed to fail...

Warren M

On Sun, Aug 15, 2010 at 5:56 PM, Jackie Ng  wrote:

>
> Have you tried ExecuteMapAction(20), where ExecuteMapAction() is a method
> of
> the main frame and 20 is the command code for "Refresh Map"?
>
> - Jackie
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Refresh-map-only-tp5414227p5426321.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] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Warren Medernach
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 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


Re: [mapguide-users] Refresh map only

2010-08-13 Thread Warren Medernach
Hey Jason,

Thanks!  I was pretty sure I did rtfm and that's how I got to where I did...
 But I digress...  ;-)

I'm using the basic AJAX viewer in this instance on MGE.

In the Viewer API (see I did rtfm :-) there is a Main Frame Refresh and a
Map Frame Refresh, but when I call the Map Frame Refresh the whole map
refreshes and goes back to the initial zoom.  I guess I just expected it to
behave like the context menu Refresh.

I wonder if it's because I'm wrapping this in the 'window.setInterval' call?
Do I maybe need to setup my own timer to refresh just the map frame?

Warren M


On Fri, Aug 13, 2010 at 1:22 AM, Jason Birch  wrote:

> Hey Warren,
>
> What version of MapGuide are you using, and which framework (AJAX or
> Fusion)?
>
> Jason
>
> On 2010-08-11, Warren Medernach  wrote:
> > Is there a mechanism to refresh just the map and not the whole frame?
> > I want to refresh the map, but retain the current view/zoom, etc.
> >
> > Maybe I'm missing something, but calling:
> >
> > window.setInterval('GetMapFrame().Refresh()', 2000);
> >
> >
> > Doesn't seem any different than refreshing the entire web page?
> >
> > 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


[mapguide-users] Refresh map only

2010-08-11 Thread Warren Medernach
Is there a mechanism to refresh just the map and not the whole frame?
I want to refresh the map, but retain the current view/zoom, etc.

Maybe I'm missing something, but calling:

window.setInterval('GetMapFrame().Refresh()', 2000);


Doesn't seem any different than refreshing the entire web page?

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


Re: [mapguide-users] Re: Subject: Best practices for running Fusion within frames

2010-08-09 Thread Warren Medernach
Ok, so I struggled with this for a bit and between some vacation time and
other projects, I'm just getting back to this...
I wanted to get this down to hopefully help others and also to raise a
question.

As previously discussed in this thread I have a frame based MG site using
the Fusion viewer.  Now, even though I am calling this Search command in a
specified frame I noticed that the URL string variable popup is set to true.
 I had orignally assumed that 'popup' meant a seperate window opening, but I
guess it means any other window/frame besides the Task Pane.  Once I
realized this I was able to adjust the GetParent call to hit the correct
frame.

Now for the question: would it not make sense for the popup variable only to
be set when the New Window option is chosen?

ps. I also like Gordon's method of iFrames and all of the jscript in the top
Fusion index page.

Warren

On Fri, Jul 30, 2010 at 8:54 PM, Jason Birch  wrote:

> Interesting, and Warren's use too.
>
> I wonder how much of this could be met directly with custom templates when
> using Fusion, but probably easier to manage with iframes, and gives you AJAX
> viewer embeds too.
>
>
> On 30 July 2010 12:32, GordonL wrote:
>
>>
>> Hi Jason, I use IFRAMES for both the AJAX and FUSION versions (I use
>> modified
>> templates too).  The nice thing is that all my javascript in in the index
>> page so i just call everything with a top.functionName() regardless of
>> viewer type.
>>
>>
> ___
> 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] Subject: Best practices for running Fusion within frames

2010-07-29 Thread Warren Medernach
Thanks Gord!
That widget look great, I'll have to look into that!
So then are you building your own Legend as well, or is that the default MG
Legend component?

Warren

On Thu, Jul 29, 2010 at 10:42 AM, Gordon Luckett <
gordon.luck...@arrowgeomatics.com> wrote:

>  Hi Warren
>
> Also, I should direct you to
>
> http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
>
>
>
> I use this widget extensively…that way I can have floating windows
> regardless of FUSION or AJAX viewers.
>
>
>
> My data grid (“List All Parcels”) uses this javascript library for this
> site – and all the sites on the squamish2010.ca domain that I create:
> http://squamish2010.ca/SASKATCHEWAN/
>
>
>
> Gordon
>
>
>
>
>
> Well, I'm using frames to provide a basic 'wrapper' to display things like
> company logo's and also a custom reporting frame for displaying a datagrid.
>
>
>
> Warren
>
> On Thu, Jul 29, 2010 at 1:04 AM, Jason Birch  wrote:
>
> So, are you guys using iframes to hide the complexity of the initial
> url and still use appdef directly out of the MapGuide repository?
>
> My appdef doesn't change very often; I've got it compiled into a
> single-file fusion build per-map. I'm not using templates either ;I
> don't think they existed when DMSG built my map initially :)
>
> If your app is static enough, you could do something similar; copy the
> template out into the Map's directory and either compile in the appdef
> or create an ApplicationDefinition.xml in the same folder as your
> index.html.
>
>
>
> On 2010-07-28, Warren Medernach  wrote:
> > Hey Gordon,
> > Thanks so much for the tips and info!
> >
> > Warren
> >
> > On Wed, Jul 28, 2010 at 7:18 PM, Gordon Luckett <
> > gordon.luck...@arrowgeomatics.com> wrote:
> >
> >>  Hi Warren,
> >>
> >> I usually use iframes (and always call it the same thing  “iFrameMap”)
> >>
> >>
> >>
> >> I have found some issues with targeting some of the searches and had to
> >> modify the code to find my “iFrameMap” within FUSION.
> >>
> >>
> >>
> >> I make use of the \www\fusion\layers\MapGuide\MapGuideViewerApi.js file
> >> and
> >> modify the lines that show:
> >>
> >>
> >>
> >> var Fusion = window.top.Fusion;
> >>
> >>
> >>
> >> to
> >>
> >>
> >>
> >> var Fusion = window.top.iFrameMap.Fusion;
> >>
> >>
> >>
> >> and that usually works really well.
> >>
> >>
> >>
> >>
> >>
> >> I use the iFrameMap for the AJAX Basic version to and usually pass a
> >> parameter to the JS files with VTYPE=’AJAX’ or VTYPE=’FUSION’ so I know
> >> what
> >> viewer API to use.
> >>
> >>
> >>
> >> Hope that helps.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Hey Jason,
> >>
> >> Sorry, my bad...  I should know better to include version details...
>  It's
> >> been a long day :-)
> >>
> >> I'm using MGE 2011.
> >>
> >>
> >>
> >> I was just more curious what others are doing wrt Fusion.  Are people
> >> using
> >> iFrames, or Frames, or just building their wrappers?
> >>
> >>
> >>
> >> Thanks.
> >>
> >>
> >> Warren
> >>
> >> On Wed, Jul 28, 2010 at 5:35 PM, Jason Birch 
> wrote:
> >>
> >> Are you using a recent version? I think I saw some commits that change
> >> the way widgets find their parent fairly recently (ie, could be bug).
> >>
> >>
> >>
> >> On 2010-07-28, Warren Medernach  wrote:
> >> > Hello all,
> >> > I'm trying to use the Fusion viewer within a frameset and I'm getting
> >> > some weird results using different browsers with 'out-of-the-box'
> >> > functionality.
> >> >
> >> > For example, I have a Search function defined that works fine when I
> run
> >> it
> >> > in FireFox or Chrome, but in IE it fails to select and zoom to the
> >> > object
> >> > and a script error is thrown stating that it cannot find Fusion?
> >> >
> >> > Are there any 'best practices' or suggestions to using Fusion within a
> >> > frameset?
> >> >
> >> > 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
> >>
> >>
> >
> ___
> 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] Subject: Best practices for running Fusion within frames

2010-07-29 Thread Warren Medernach
Well, I'm using frames to provide a basic 'wrapper' to display things like
company logo's and also a custom reporting frame for displaying a datagrid.

Warren

On Thu, Jul 29, 2010 at 1:04 AM, Jason Birch  wrote:

> So, are you guys using iframes to hide the complexity of the initial
> url and still use appdef directly out of the MapGuide repository?
>
> My appdef doesn't change very often; I've got it compiled into a
> single-file fusion build per-map. I'm not using templates either ;I
> don't think they existed when DMSG built my map initially :)
>
> If your app is static enough, you could do something similar; copy the
> template out into the Map's directory and either compile in the appdef
> or create an ApplicationDefinition.xml in the same folder as your
> index.html.
>
>
> On 2010-07-28, Warren Medernach  wrote:
> > Hey Gordon,
> > Thanks so much for the tips and info!
> >
> > Warren
> >
> > On Wed, Jul 28, 2010 at 7:18 PM, Gordon Luckett <
> > gordon.luck...@arrowgeomatics.com> wrote:
> >
> >>  Hi Warren,
> >>
> >> I usually use iframes (and always call it the same thing  “iFrameMap”)
> >>
> >>
> >>
> >> I have found some issues with targeting some of the searches and had to
> >> modify the code to find my “iFrameMap” within FUSION.
> >>
> >>
> >>
> >> I make use of the \www\fusion\layers\MapGuide\MapGuideViewerApi.js file
> >> and
> >> modify the lines that show:
> >>
> >>
> >>
> >> var Fusion = window.top.Fusion;
> >>
> >>
> >>
> >> to
> >>
> >>
> >>
> >> var Fusion = window.top.iFrameMap.Fusion;
> >>
> >>
> >>
> >> and that usually works really well.
> >>
> >>
> >>
> >>
> >>
> >> I use the iFrameMap for the AJAX Basic version to and usually pass a
> >> parameter to the JS files with VTYPE=’AJAX’ or VTYPE=’FUSION’ so I know
> >> what
> >> viewer API to use.
> >>
> >>
> >>
> >> Hope that helps.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Hey Jason,
> >>
> >> Sorry, my bad...  I should know better to include version details...
>  It's
> >> been a long day :-)
> >>
> >> I'm using MGE 2011.
> >>
> >>
> >>
> >> I was just more curious what others are doing wrt Fusion.  Are people
> >> using
> >> iFrames, or Frames, or just building their wrappers?
> >>
> >>
> >>
> >> Thanks.
> >>
> >>
> >> Warren
> >>
> >> On Wed, Jul 28, 2010 at 5:35 PM, Jason Birch 
> wrote:
> >>
> >> Are you using a recent version? I think I saw some commits that change
> >> the way widgets find their parent fairly recently (ie, could be bug).
> >>
> >>
> >>
> >> On 2010-07-28, Warren Medernach  wrote:
> >> > Hello all,
> >> > I'm trying to use the Fusion viewer within a frameset and I'm getting
> >> > some weird results using different browsers with 'out-of-the-box'
> >> > functionality.
> >> >
> >> > For example, I have a Search function defined that works fine when I
> run
> >> it
> >> > in FireFox or Chrome, but in IE it fails to select and zoom to the
> >> > object
> >> > and a script error is thrown stating that it cannot find Fusion?
> >> >
> >> > Are there any 'best practices' or suggestions to using Fusion within a
> >> > frameset?
> >> >
> >> > 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
> >>
> >>
> >
> ___
> 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] Subject: Best practices for running Fusion within frames

2010-07-28 Thread Warren Medernach
Hey Gordon,
Thanks so much for the tips and info!

Warren

On Wed, Jul 28, 2010 at 7:18 PM, Gordon Luckett <
gordon.luck...@arrowgeomatics.com> wrote:

>  Hi Warren,
>
> I usually use iframes (and always call it the same thing  “iFrameMap”)
>
>
>
> I have found some issues with targeting some of the searches and had to
> modify the code to find my “iFrameMap” within FUSION.
>
>
>
> I make use of the \www\fusion\layers\MapGuide\MapGuideViewerApi.js file and
> modify the lines that show:
>
>
>
> var Fusion = window.top.Fusion;
>
>
>
> to
>
>
>
> var Fusion = window.top.iFrameMap.Fusion;
>
>
>
> and that usually works really well.
>
>
>
>
>
> I use the iFrameMap for the AJAX Basic version to and usually pass a
> parameter to the JS files with VTYPE=’AJAX’ or VTYPE=’FUSION’ so I know what
> viewer API to use.
>
>
>
> Hope that helps.
>
>
>
>
>
>
>
> Hey Jason,
>
> Sorry, my bad...  I should know better to include version details...  It's
> been a long day :-)
>
> I'm using MGE 2011.
>
>
>
> I was just more curious what others are doing wrt Fusion.  Are people using
> iFrames, or Frames, or just building their wrappers?
>
>
>
> Thanks.
>
>
> Warren
>
> On Wed, Jul 28, 2010 at 5:35 PM, Jason Birch  wrote:
>
> Are you using a recent version? I think I saw some commits that change
> the way widgets find their parent fairly recently (ie, could be bug).
>
>
>
> On 2010-07-28, Warren Medernach  wrote:
> > Hello all,
> > I'm trying to use the Fusion viewer within a frameset and I'm getting
> > some weird results using different browsers with 'out-of-the-box'
> > functionality.
> >
> > For example, I have a Search function defined that works fine when I run
> it
> > in FireFox or Chrome, but in IE it fails to select and zoom to the object
> > and a script error is thrown stating that it cannot find Fusion?
> >
> > Are there any 'best practices' or suggestions to using Fusion within a
> > frameset?
> >
> > 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
>
>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Subject: Best practices for running Fusion within frames

2010-07-28 Thread Warren Medernach
Hey Jason,
Sorry, my bad...  I should know better to include version details...  It's
been a long day :-)
I'm using MGE 2011.

I was just more curious what others are doing wrt Fusion.  Are people using
iFrames, or Frames, or just building their wrappers?

Thanks.

Warren

On Wed, Jul 28, 2010 at 5:35 PM, Jason Birch  wrote:

> Are you using a recent version? I think I saw some commits that change
> the way widgets find their parent fairly recently (ie, could be bug).
>
>
> On 2010-07-28, Warren Medernach  wrote:
> > Hello all,
> > I'm trying to use the Fusion viewer within a frameset and I'm getting
> > some weird results using different browsers with 'out-of-the-box'
> > functionality.
> >
> > For example, I have a Search function defined that works fine when I run
> it
> > in FireFox or Chrome, but in IE it fails to select and zoom to the object
> > and a script error is thrown stating that it cannot find Fusion?
> >
> > Are there any 'best practices' or suggestions to using Fusion within a
> > frameset?
> >
> > 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


[mapguide-users] Subject: Best practices for running Fusion within frames

2010-07-28 Thread Warren Medernach
Hello all,
I'm trying to use the Fusion viewer within a frameset and I'm getting
some weird results using different browsers with 'out-of-the-box'
functionality.

For example, I have a Search function defined that works fine when I run it
in FireFox or Chrome, but in IE it fails to select and zoom to the object
and a script error is thrown stating that it cannot find Fusion?

Are there any 'best practices' or suggestions to using Fusion within a
frameset?

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


[mapguide-users] Fusion: calling custom search widget

2010-07-05 Thread Warren Medernach
Hello all,
I have a search defined in a Fusion app that works fine, and this search is 
defined to execute in a specified frame.  I can control the opening and closing 
of this frame via javascript, but what I want to do is script this so I can 
call to open the frame and then load the Search command.

I was thinking of wrapping this in an InvokeScript call, so I'm looking for 
help with the syntax to 'call/activate/initialize' the custom search widget.
I've seen other samples using something like:
window.top.Fusion.getWidgetById('Map').drawMap()  to refresh a map

My search ID is 'SearchAddress' so I've tried:
window.top.Fusion.getWidgetById('SearchAddress').activate;

But that doesn't seem to work.

Warren M

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


RE: [mapguide-users] RE: MapGuide connection to SQL Server through ODBC

2010-04-06 Thread Warren Medernach
Oh you know it Jason, extremely frustrating... 

 

I did think about submitting it as a defect, but then I thought is it
really a defect?

 

After reading up a bit on SS password policies, it does state that
non-alphanumeric characters such as: exclamation point (!), dollar sign
($), number sign (#), or percent (%) are valid, it just doesn't
specifically say that an ampersand (&) is invalid.

 

So, having said all of that... it would have been nice if MG provided a
more description error message, but the question remains, is this a
defect?  I can definitely submit a defect, if you feel it is.

 

Thanks

 

Warren 

   

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch
Sent: Tuesday, April 06, 2010 5:46 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] RE: MapGuide connection to SQL Server
through ODBC

 

Warren, have you entered a defect ticket for this yet?

 

I _hate_ the problems that take forever to track down and turn out to be
something stupid like that.

 

Jason

On 6 April 2010 13:34, Warren Medernach wrote:

Well... A couple weeks and many testing scenarios later, we have figured
out what was happening in this instance of connecting to SQL Server
through ODBC.  So I thought I would post my findings in the event that
it might help somebody at some other time.

The SQL Server username password that we were using contained 'special
characters' like &, @, !, and MapGuide apparently could not pass these
properly.

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


RE: [mapguide-users] RE: MapGuide connection to SQL Server through ODBC

2010-04-06 Thread Warren Medernach
Well... A couple weeks and many testing scenarios later, we have figured
out what was happening in this instance of connecting to SQL Server
through ODBC.  So I thought I would post my findings in the event that
it might help somebody at some other time.

 

The SQL Server username password that we were using contained 'special
characters' like &, @, !, and MapGuide apparently could not pass these
properly.  Remember, the original error message thrown was: 

response returned status code 502 (BadGateway)

 

It wasn't until we tested on a completely localized environment that a
more meaningful, only somewhat cryptic error message was thrown: 

Feature Source - Unterminated entity reference, 'Bob'

 

'Bob' happened to be part of the SQL Server password we were using, and
more importantly, it was preceded by an '&' character.  I can only
assume that MapGuide could not properly pass the password.

 

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Tuesday, March 16, 2010 10:18 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] RE: MapGuide connection to SQL Server
throughODBC

 

Unfortunately, this is not what we are finding.

 

The DSN connection works fine from the MG server, but Studio (on a
clients desktop) is still failing when attempting to connect through
that same DSN.  There is an ISA server in the mix here and it seems to
be blocking the request from MapGuide.  Still working to resolve...

 

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Monday, March 15, 2010 3:40 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] RE: MapGuide connection to SQL Server
throughODBC

 

The issue I described would prevent you from testing the ODBC connection
within the ODBC Database Administrator in Windows. Basically if this
connection works then using the DSN in Studio should work. If you are
trying a connection string that might be a different problem. The DSN
definitely works.

 

Dave

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medermach (External)
Sent: Monday, March 15, 2010 3:12 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] RE: MapGuide connection to SQL Server
through ODBC

 

Thanks for the speedy response Dave!

I think I should clarify more.

 

If I create a UDL, or ODBC, connection on the MG Server machine to the
SQL Server on the other machine it works fine.  I'm trying to create a
connection to SQL Server from Studio via the ODBC FDO Provider and
choosing the 'Connect to a database' and 'Microsoft SQL Server' and then
specifying the credentials and proper connection string.  This is
failing.  So I'm not sure what MG is doing differently to communicate
with the SQL Server?

 

As for port 1433, that would need to be open on both machines for the
'handshake' communications, correct?  I wonder if that's the problem...

 

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Monday, March 15, 2010 2:29 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] RE: MapGuide connection to SQL Server through
ODBC

 

I have an instance in house where the connectivity fails because of a
setting to do with the port in the ODBC configuration.

 

When setting up the ODBC configuration there is a button for Client
Configuration, click this and uncheck the dynamically determine port.
1433 should be shown in a grayed out box.

 

That might be the issue.

 

Dave

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medermach (External)
Sent: Monday, March 15, 2010 2:16 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] MapGuide connection to SQL Server through ODBC

 

Hello all,

I'm trying to make a connection to SQL Server through ODBC using MG
Studio.

This works fine on a local test system where MG server & SQL Server are
installed on the same machine.

 

When deployed, MG Server is NOT installed on the same machine as SQL
Server.

In this scenario, I can create a UDL on the MG server machine and
successfully connect to SS with no problems.

However, when I try to create a data connection in MG, it fails with the
following error:

response returned status code 502 (BadGateway)

 

It would seem that something on the SQL Server machine is blocking the
connection request from MG.  So the question is, what is MG doing
differently than a simple UDL connection to communicate with the SQL
Server machine? 

Any ideas, suggestions would be greatly appreciated.

 

MGE 2010

SQL Server 2005

 

Warren M

 

___

RE: [mapguide-users] Issue with selecting objects using a DWF drawingsource

2010-03-29 Thread Warren Medernach
Hello Dejan,
DWFs cannot be selected like FDO feature sources.  Essentially, the DWF
is nothing more than an overlay snapshot.

Warren M



-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dejan
Gregor
Sent: Monday, March 29, 2010 3:39 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Issue with selecting objects using a DWF
drawingsource


I am unable to select any features from a DWF drawing source
interactively
with the SELECT tool on a Fusion layout. My layer resource is set as
selectable, however, I cannot select any DWF objects.

The DWF drawing source was created with AutoCAD Map 3D 2010 from a DWG
2010.

Any suggestions on how to make features in the DWF selectable inside
MGOS?

Thanks!
Dejan

-

Dejan Gregor, MSc 
GISc Researcher and Consultant 

http://www.linkedin.com/in/dgregor 
-- 
View this message in context:
http://n2.nabble.com/Issue-with-selecting-objects-using-a-DWF-drawing-so
urce-tp4817008p4817008.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: MapGuide connection to SQL Server throughODBC

2010-03-16 Thread Warren Medernach
Unfortunately, this is not what we are finding.

 

The DSN connection works fine from the MG server, but Studio (on a
clients desktop) is still failing when attempting to connect through
that same DSN.  There is an ISA server in the mix here and it seems to
be blocking the request from MapGuide.  Still working to resolve...

 

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Monday, March 15, 2010 3:40 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] RE: MapGuide connection to SQL Server
throughODBC

 

The issue I described would prevent you from testing the ODBC connection
within the ODBC Database Administrator in Windows. Basically if this
connection works then using the DSN in Studio should work. If you are
trying a connection string that might be a different problem. The DSN
definitely works.

 

Dave

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medermach (External)
Sent: Monday, March 15, 2010 3:12 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] RE: MapGuide connection to SQL Server
through ODBC

 

Thanks for the speedy response Dave!

I think I should clarify more.

 

If I create a UDL, or ODBC, connection on the MG Server machine to the
SQL Server on the other machine it works fine.  I'm trying to create a
connection to SQL Server from Studio via the ODBC FDO Provider and
choosing the 'Connect to a database' and 'Microsoft SQL Server' and then
specifying the credentials and proper connection string.  This is
failing.  So I'm not sure what MG is doing differently to communicate
with the SQL Server?

 

As for port 1433, that would need to be open on both machines for the
'handshake' communications, correct?  I wonder if that's the problem...

 

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Monday, March 15, 2010 2:29 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] RE: MapGuide connection to SQL Server through
ODBC

 

I have an instance in house where the connectivity fails because of a
setting to do with the port in the ODBC configuration.

 

When setting up the ODBC configuration there is a button for Client
Configuration, click this and uncheck the dynamically determine port.
1433 should be shown in a grayed out box.

 

That might be the issue.

 

Dave

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medermach (External)
Sent: Monday, March 15, 2010 2:16 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] MapGuide connection to SQL Server through ODBC

 

Hello all,

I'm trying to make a connection to SQL Server through ODBC using MG
Studio.

This works fine on a local test system where MG server & SQL Server are
installed on the same machine.

 

When deployed, MG Server is NOT installed on the same machine as SQL
Server.

In this scenario, I can create a UDL on the MG server machine and
successfully connect to SS with no problems.

However, when I try to create a data connection in MG, it fails with the
following error:

response returned status code 502 (BadGateway)

 

It would seem that something on the SQL Server machine is blocking the
connection request from MG.  So the question is, what is MG doing
differently than a simple UDL connection to communicate with the SQL
Server machine? 

Any ideas, suggestions would be greatly appreciated.

 

MGE 2010

SQL Server 2005

 

Warren M

 

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


RE: [mapguide-users] RE: MapGuide connection to SQL Server through ODBC

2010-03-15 Thread Warren Medernach
Thanks for the speedy response Dave!

I think I should clarify more.

 

If I create a UDL, or ODBC, connection on the MG Server machine to the
SQL Server on the other machine it works fine.  I'm trying to create a
connection to SQL Server from Studio via the ODBC FDO Provider and
choosing the 'Connect to a database' and 'Microsoft SQL Server' and then
specifying the credentials and proper connection string.  This is
failing.  So I'm not sure what MG is doing differently to communicate
with the SQL Server?

 

As for port 1433, that would need to be open on both machines for the
'handshake' communications, correct?  I wonder if that's the problem...

 

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Monday, March 15, 2010 2:29 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] RE: MapGuide connection to SQL Server through
ODBC

 

I have an instance in house where the connectivity fails because of a
setting to do with the port in the ODBC configuration.

 

When setting up the ODBC configuration there is a button for Client
Configuration, click this and uncheck the dynamically determine port.
1433 should be shown in a grayed out box.

 

That might be the issue.

 

Dave

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medermach (External)
Sent: Monday, March 15, 2010 2:16 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] MapGuide connection to SQL Server through ODBC

 

Hello all,

I'm trying to make a connection to SQL Server through ODBC using MG
Studio.

This works fine on a local test system where MG server & SQL Server are
installed on the same machine.

 

When deployed, MG Server is NOT installed on the same machine as SQL
Server.

In this scenario, I can create a UDL on the MG server machine and
successfully connect to SS with no problems.

However, when I try to create a data connection in MG, it fails with the
following error:

response returned status code 502 (BadGateway)

 

It would seem that something on the SQL Server machine is blocking the
connection request from MG.  So the question is, what is MG doing
differently than a simple UDL connection to communicate with the SQL
Server machine? 

Any ideas, suggestions would be greatly appreciated.

 

MGE 2010

SQL Server 2005

 

Warren M

 

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


[mapguide-users] MapGuide connection to SQL Server through ODBC

2010-03-15 Thread Warren Medernach
Hello all,

I'm trying to make a connection to SQL Server through ODBC using MG
Studio.

This works fine on a local test system where MG server & SQL Server are
installed on the same machine.

 

When deployed, MG Server is NOT installed on the same machine as SQL
Server.

In this scenario, I can create a UDL on the MG server machine and
successfully connect to SS with no problems.

However, when I try to create a data connection in MG, it fails with the
following error:

response returned status code 502 (BadGateway)

 

It would seem that something on the SQL Server machine is blocking the
connection request from MG.  So the question is, what is MG doing
differently than a simple UDL connection to communicate with the SQL
Server machine? 

Any ideas, suggestions would be greatly appreciated.

 

MGE 2010

SQL Server 2005

 

Warren M

 

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


RE: [mapguide-users] SelectFeatures and string ID fields

2009-12-08 Thread Warren Medernach
Hi Balaji

It still fails if I try that as well.
I'm sure it's probably something simple I'm overlooking, but right now
I'm at a loss to figure this out.

Warren M



-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of balaji
bitra
Sent: Tuesday, December 08, 2009 6:14 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] SelectFeatures and string ID fields


hi

try it like this

 Dim query As String = "ParcelID = '0102000'"
queryOptions.SetFilter(query);


Regards 
balaji

-
Balaji
-- 
View this message in context:
http://n2.nabble.com/SelectFeatures-and-string-ID-fields-tp4068397p41320
72.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] SelectFeatures and string ID fields

2009-11-25 Thread Warren Medernach
Are there known problems using a string field as the key field in an SDF
file?

 

I'm trying to zoom to a filtered object, and it seems to work on an SDF
with a default integer FeatId key field, but fails when I try it on an
SDF with a string key field.  The FeatureReader is always empty when I
try to get

 

Scenario #1 Works with an SDF with FeatId integer key

queryOptions.SetFilter("FeatId = 410");

MgResourceIdentifier featureResId = new
MgResourceIdentifier(layer.GetFeatureSourceId());

MgFeatureReader featureReader =
featureService.SelectFeatures(featureResId, layer.GetFeatureClassName(),
queryOptions);

 

Scenario #2 Fails with an SDF with a string key

queryOptions.SetFilter("ParcelID = '0102000'");

MgResourceIdentifier featureResId = new
MgResourceIdentifier(layer.GetFeatureSourceId());

MgFeatureReader featureReader =
featureService.SelectFeatures(featureResId, layer.GetFeatureClassName(),
queryOptions);

 

Any ideas greatly appreciated

Warren M

 

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


RE: [mapguide-users] Mapguide Studio Selection

2009-10-06 Thread Warren Medernach
You can create joins on the Feature Sources (data connections) in Studio
via the 'Add properties to classes...' section of your data source.  So
if you have a SHP data connection & a SQL connection, you can join the
SHP data (based on some common key field) to a table in your SQL
database.  The result is essentially a new Feature Class to choose when
you author the layer, and this FC contains all of the joined attributes.

 

The URL can be specified when authoring the layer in the Feature Data
Setup section > URL activated for feature.

 

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Emily
LaMunyon
Sent: Tuesday, October 06, 2009 7:46 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Mapguide Studio Selection

 

Hi Warren,

 

I may have not been very clear about what I want to do. In our current
web map, when the user selects a survey(s), a report/table is generated
from a SQL database displaying certain information pertaining to the
features. I am able to get the shapefile attributes to display in the
selection panel, however, I would like both to appear. When you say
"join', what do you mean? Also, where is the URL property on the Layer?

Thanks for replying to my message!

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Monday, October 05, 2009 5:04 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Mapguide Studio Selection

 

Hi Emily,

I'm not 100% sure what you're trying to accomplish, but if you want a
just display additional information from a database, you could 'join'
the data sources and have the joined information display in the
properties panel.

 

There is also the URL property on the Layer where you can configure a
hyperlink in the tooltip.

 

Hop this  helps

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Emily
LaMunyon
Sent: Monday, October 05, 2009 3:27 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Mapguide Studio Selection

 

Hello,

I am new to this list as well as Enterprise. I am using the Maroon
template in an ajax viewer. I am interested in having a php report
appear when the user selects an object on the map. So far, the shapefile
attribute information appears when selected, but how do I take it a step
further and have info pulled from a database?

Thanks!

 

 

Emily LaMunyon

GIS Analyst/Web Developer

Salt Lake County Surveyor's Office 

(801) 468-2358

 

 

 

 

 

 

 

 

 

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


RE: [mapguide-users] Mapguide Studio Selection

2009-10-05 Thread Warren Medernach
Hi Emily,

I'm not 100% sure what you're trying to accomplish, but if you want a
just display additional information from a database, you could 'join'
the data sources and have the joined information display in the
properties panel.

 

There is also the URL property on the Layer where you can configure a
hyperlink in the tooltip.

 

Hop this  helps

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Emily
LaMunyon
Sent: Monday, October 05, 2009 3:27 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Mapguide Studio Selection

 

Hello,

I am new to this list as well as Enterprise. I am using the Maroon
template in an ajax viewer. I am interested in having a php report
appear when the user selects an object on the map. So far, the shapefile
attribute information appears when selected, but how do I take it a step
further and have info pulled from a database?

Thanks!

 

 

Emily LaMunyon

GIS Analyst/Web Developer

Salt Lake County Surveyor's Office 

(801) 468-2358

 

 

 

 

 

 

 

 

 

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


RE: [mapguide-users] Draw a line

2009-09-30 Thread Warren Medernach
There are some digitizing samples found in the phpsamples data set.  I
suggest you start there to get an understanding of how that is
accomplished.

Warren M


-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of ama.stan
Sent: Wednesday, September 30, 2009 7:02 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Draw a line


Hy. I'm just began studying MapGuide Enterprise 2010 and I would
apreciate
some help.
After I studyied all examples from MapGuide Developer's Guide a want to
draw
a new line on the map.
How can I do that?
-- 
View this message in context:
http://n2.nabble.com/Draw-a-line-tp3742542p3742542.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: re: [mapguide-users] flexible web layouts

2009-08-09 Thread Warren Medernach
Great looking site Gordon.
Interesting to see the APEX integration!

Warren M

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL
Sent: Wednesday, August 05, 2009 11:53 AM
To: mapguide-users@lists.osgeo.org
Subject: RE: re: [mapguide-users] flexible web layouts


Just to follow up.  I managed to do it: check out: 
http://squamish2010.ca/CONTAMINANTS/

I had to add 3 new links - Satellite, Hybrid and Streets:

How I managed to print:
1. When the page opens it grabs the session map name and gets the
extents.
2. I set up a very basic OpenLayers map with the "controls: [new
OpenLayers.Control.KeyboardDefaults()]"
3. I use OpenLayers to add the google layer
3. I use OpenLayers to add the MapGuide layer
4. Onload I trigger a print() 

that's it.
It's fun using the OpenLayers map as a print for MapGuide...

gordon



GordonL wrote:
> 
> HI Jason,
> I did tweak the coordinate system here and have it working.
> Look at:
> http://squamish2010.ca/mapguide2010/contaminants/main_fusion.php
> 
> However, I am not sure how to convert such client-side javascript to
> produce a printable map with the OpenLayers?   
> 
> Any hints?
> 
> thanks
> gordon
> 
> 
> 
> 
> Jason Birch wrote:
>> 
>> Hi,
>> 
>> Thanks for pointing out the example.
>> 
>> I had the same lack of success getting Google Maps to show up by
using
>> the methods outlined on DMSG's research blog.  It looked like I had
>> everything right, but neither map would load.  I'd put it on a back
>> burner until I had more time to play with it.
>> 
>> On the MGE site, they take a different path.  The
ApplicationDefinition
>> only contains the definition of a MapGuide map--which has been set to
the
>> Google Maps (Popular Visualization) and projects the underlying data
on
>> the fly--and InvokeScript widgets  that allow switching between
streets,
>> satellites, hybrid.  The real magic is in the HTML template.  There
are
>> three important things here:
>> 
>> - The Google Maps js is included at the top of the script
>> 
>> - The fusionInitialized callback registers addGoogleStuff() to be
called
>> when the map is loaded
>> 
>> - The addGoogleStuff() callback adds the google streets layer, sets
the
>> MapGuide layer to not be a base layer, turns off fractional zoom, and
>> sets the google streets layer as the base layer.
>> 
>> The only really hard part of this (once it's figured out) appears to
be
>> setting the MapDefinition to use the Popular Visualisation projection
and
>> setting the extents.  You can grab the CS definition from the
$wktGoogle
>> variable in the attached script, and manually edit your
MapDefinition's
>> XML to use this as the CoordinateSystem.  Make sure to convert your "
to
>> " .  You can also extract the extents of an existing layer in
the
>> Popular Visualization projection using the attached script; just edit
the
>> first couple lines to point to the location of your
WebServerExtensions
>> directory, and the resource ID of a layer that covers the entire
extent
>> of your area.
>> 
>> Jason
>> 
>> 
>> From: girish kumar bv
>> Sent: Sunday, April 19, 2009 11:08 AM
>> Subject: [mapguide-users] re: flexible web layouts
>> 
>> Can anyone provide neccessary steps/procedure to integrate google
maps
>> with mapguide using flexible web layout. I tried through Application
>> definition.xml but with no success
>> 
>> There is an example on
http://enterprise.mapguide.com/landing/index.php
>> 
>> > 
>> $featureResource = "Library://ParcelData.FeatureSource";
>> 
>> $installDir = 'C:/Program Files/OSGeo/MapGuide Web/';
>> 
>> $wktGoogle = 'PROJCS["Popular Visualisation CRS /
>> Mercator",GEOGCS["Popular Visualisation
>> CRS",DATUM["Popular_Visualisation_Datum",SPHEROID["Popular
Visualisation
>>
Sphere",6378137,0,AUTHORITY["EPSG","7059"]],TOWGS84[0,0,0,0,0,0,0],AUTHO
RITY["EPSG","6055"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT
["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG"
,"4055"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Mercator_
1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAME
TER["false_easting",0],PARAMETER["false_northing",0],AUTHORITY["EPSG","3
785"],AXIS["X",EAST],AXIS["Y",NORTH]]';
>> $wktLL84 =
>>
'GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137.000,298.25722293]]
,PRIMEM["Greenwich",0],UNIT["Degree",0.01745329251994]]';
>> 
>> function getExtents($geom)
>> {
>> 
>> try
>> {
>> 
>>   $ll = $geom->GetLowerLeftCoordinate();
>>   $ur = $geom->GetUpperRightCoordinate();
>>   
>>   return array (
>>  'x1' => $ll->GetX(),
>>  'y1' => $ll->GetY(),
>>  'x2' => $ur->GetX(),
>>  'y2' => $ur->GetY()
>>  );
>> 
>> }
>> catch (MgException $e) {
>>   return NULL;
>> }
>> 
>> }
>> 
>> try
>> {
>> 
>> require($installDir."/www/mapviewerphp/constants.php");
>> 
>> MgInitializeWebTier

RE: [mapguide-users] Generalize the data by percentage. How does it work?

2009-06-30 Thread Warren Medernach
Hi Jonathan,
If you have MapGuide Studio, in the Load Procedure dialog, there is an
option to generalize data.
I'm not sure if Maestro has this option or not, you might want to check?

Warren M

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jonathan W
Sent: Tuesday, June 30, 2009 8:42 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Generalize the data by percentage. How does it
work?


I have several very large polyline shapefiles that I wish to put into my
Mapguide site.  I would like a faster preformance for my site by
generalizing these files (reducing file sizes).  Could someone please
direct
me to the help file or tell me what the "Generalize the data by this
percentage" in the load procedure actually does.  Does it remove
vertices?
Would 20% remove 4 out of 5 points along the line?

Thank you
Jonathan
 
-- 
View this message in context:
http://n2.nabble.com/Generalize-the-data-by-percentage.--How-does-it-wor
k--tp3182874p3182874.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] Scribble markup application question

2009-04-07 Thread Warren Medernach
Awesome!

Thanks for the speedy response Dennis, I will give that a shot.

 

Thanks again,

Warren

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jonio,
Dennis (Aviation)
Sent: Tuesday, April 07, 2009 11:06 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Scribble markup application question

 

Warren,

 

It has been some time since I wrote Scribble and my head is currently
into OBJECTARX/Oracle but I believe its purpose is to stuff the
currentscribbleselectionXMLcntrl.value for the dark-side. As to why,
well I just did it that way. Yes, that is exactly what it does.

As for the error it looks to me that I store the original but on exit I
never put it back. Since I did not do it, check out the 
"onunload" event. I would think you just have to put the original back.

mainFrame.OnSelectionChanged = originalOnSelectionChanged;

 

r,

dennis

 



From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Tuesday, April 07, 2009 11:57 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Scribble markup application question

 

I'd like to know if somebody that knows the Scribble app can explain why
the app implements a local selection changed handler and what the
purpose of it is: LocalOnSelectionChangedHandler

 

>From what I can see, it just sets the selectionXML to one of the hidden
fields, is this correct?

 

I've created a wrapper of sorts for the Scribble app that takes part of
the GT markup app for managing the creation and loading of 'local' and
global' markup resources based on a user login, and then the scribble
app for the feature creation.  The app works great creating and deleting
features.  However, when I exit the editing mode and close the
resources, the app goes back to the default Task Page.  At this point,
if I try to select objects on the map, a JScript runtime error is
thrown: "Can't execute code from a freed script" and the app stops on a
parent.OnSelectionChanged(); call in the mapframe.aspx.

 

I may be off-track on this error, but I think it has something to do
with the local onchanged handler in the Scribble app?

Any insight or comments would be greatly appreciated,  thanks so much.

 

Warren M 

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


[mapguide-users] Scribble markup application question

2009-04-07 Thread Warren Medernach
I'd like to know if somebody that knows the Scribble app can explain why
the app implements a local selection changed handler and what the
purpose of it is: LocalOnSelectionChangedHandler

 

>From what I can see, it just sets the selectionXML to one of the hidden
fields, is this correct?

 

I've created a wrapper of sorts for the Scribble app that takes part of
the GT markup app for managing the creation and loading of 'local' and
global' markup resources based on a user login, and then the scribble
app for the feature creation.  The app works great creating and deleting
features.  However, when I exit the editing mode and close the
resources, the app goes back to the default Task Page.  At this point,
if I try to select objects on the map, a JScript runtime error is
thrown: "Can't execute code from a freed script" and the app stops on a
parent.OnSelectionChanged(); call in the mapframe.aspx.

 

I may be off-track on this error, but I think it has something to do
with the local onchanged handler in the Scribble app?

Any insight or comments would be greatly appreciated,  thanks so much.

 

Warren M

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


RE: [mapguide-users] Exception in Filter Options

2009-04-01 Thread Warren Medernach
Are the PARCEL_IDs strings or numbers?
If they are numbers, I'm thinking the statement should not have the
single quotes?

queryoptions.SetFilter("PARCEL_ID in (785_1000,708_584)")

Warren M

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of padmini
godavarthi
Sent: Wednesday, April 01, 2009 5:20 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Exception in Filter Options




Hi,
iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)

While applying filter in queryoptions as


Dim areaRuleTemplate As String =
File.ReadAllText(GetThemeXmlTemplatePath())

Dim queryoptions As MgFeatureQueryOptions = New
MgFeatureQueryOptions()
queryoptions.AddFeatureProperty("PARCEL_ID")

   queryoptions.SetFilter("PARCEL_ID in
('785_1000','708_584')")

Dim increment1 As Double = IIf((5 > 1), 1.0 / (5 - 1), 1.0)
Dim str As String = layer.GetFeatureClassName()

Dim dataReader1 As MgFeatureReader =
featureService.SelectFeatures(resId, layer.GetFeatureClassName(),
queryoptions)

i got an error as follows.

An exception occurred in FDO component.
ORA-00907: missing right parenthesis

can u plz tell me the solution?

Regards,
Padmini.
-- 
View this message in context:
http://n2.nabble.com/Exception-in-Filter-Options-tp2568455p2568455.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] MapGuide Markup app and MgDeleteFeatures

2009-03-30 Thread Warren Medernach
Thanks for the info Kenneth!


Warren

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kenneth
Skovhede, GEOGRAF A/S
Sent: Sunday, March 29, 2009 7:06 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] MapGuide Markup app and MgDeleteFeatures

 

The "UpdateFeatures" call does not throw an exception:
http://trac.osgeo.org/mapguide/ticket/649

You have to parse the results to see what went wrong.



Regards, Kenneth Skovhede, GEOGRAF A/S



Warren Medernach skrev: 

Thanks Andy,

 

That's actually how I had it coded originally.  I then saw a sample from
AU I believe, that separated out the MgDeleteFeatures call, so I was
trying that...  Still no go, but now I see that it is happening
intermittently on the original app as well?

I have some digging to do.

 

Warren M

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andy
Morsell
Sent: Friday, March 27, 2009 11:46 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide Markup app and MgDeleteFeatures

 

Try this:

 

MgFeatureCommandCollection commands = new MgFeatureCommandCollection();

 commands.Add(new MgDeleteFeatures("Markup", "ID = " + ID));

featureService.UpdateFeatures(featureSourceId, commands, false);

 

 

Andy Morsell, P.E.

Spatial Integrators, Inc.

www.SpatialGIS.com

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Friday, March 27, 2009 9:30 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] MapGuide Markup app and MgDeleteFeatures

 

Hello all,

I am trying to port some of the GT Markup app to code-behind aspx
classes.  When I do this, the Delete Markup Feature functionality is not
functioning from code behind?  

 

The only changes I made to the code that was working in the original
markup app are:

I'm calling a function to retrieve the markup name (GetFullMarkupName)
and I'm passing in the ID I'm trying to delete.

 

MgFeatureService featureService =
(MgFeatureService)app_Markup.site.CreateService(MgServiceType.FeatureSer
vice);

MgResourceIdentifier featureSourceId = new
MgResourceIdentifier(app_Markup.GetFullMarkupName());

 

MgFeatureCommandCollection commands = new MgFeatureCommandCollection();

MgDeleteFeatures deleteFeat = new MgDeleteFeatures("Markup", "ID=" +
ID);

commands.Add(deleteFeat);

 

featureService.UpdateFeatures(featureSourceId, commands, false);

 

Through debugging I have verified that the featureSourceId is pointing
to the correct FeatureSource, the ID is getting passed through and the
DeleteFeatures statement is correct, but when it calls UpdateFeatures,
it spins away for a while, and eventually ends without deleting the
feature, and doesn't throw an error?  Would there be anything in the
logs I could look for?

 

Fyi, when I run the original markup app side-by-side, the features are
deleted with no problems.

Thanks for any suggestions.

 

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] MapGuide Markup app and MgDeleteFeatures

2009-03-27 Thread Warren Medernach
Thanks Andy,

 

That's actually how I had it coded originally.  I then saw a sample from
AU I believe, that separated out the MgDeleteFeatures call, so I was
trying that...  Still no go, but now I see that it is happening
intermittently on the original app as well?

I have some digging to do.

 

Warren M

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andy
Morsell
Sent: Friday, March 27, 2009 11:46 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide Markup app and MgDeleteFeatures

 

Try this:

 

MgFeatureCommandCollection commands = new MgFeatureCommandCollection();

 commands.Add(new MgDeleteFeatures("Markup", "ID = " + ID));

featureService.UpdateFeatures(featureSourceId, commands, false);

 

 

Andy Morsell, P.E.

Spatial Integrators, Inc.

www.SpatialGIS.com

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Friday, March 27, 2009 9:30 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] MapGuide Markup app and MgDeleteFeatures

 

Hello all,

I am trying to port some of the GT Markup app to code-behind aspx
classes.  When I do this, the Delete Markup Feature functionality is not
functioning from code behind?  

 

The only changes I made to the code that was working in the original
markup app are:

I'm calling a function to retrieve the markup name (GetFullMarkupName)
and I'm passing in the ID I'm trying to delete.

 

MgFeatureService featureService =
(MgFeatureService)app_Markup.site.CreateService(MgServiceType.FeatureSer
vice);

MgResourceIdentifier featureSourceId = new
MgResourceIdentifier(app_Markup.GetFullMarkupName());

 

MgFeatureCommandCollection commands = new MgFeatureCommandCollection();

MgDeleteFeatures deleteFeat = new MgDeleteFeatures("Markup", "ID=" +
ID);

commands.Add(deleteFeat);

 

featureService.UpdateFeatures(featureSourceId, commands, false);

 

Through debugging I have verified that the featureSourceId is pointing
to the correct FeatureSource, the ID is getting passed through and the
DeleteFeatures statement is correct, but when it calls UpdateFeatures,
it spins away for a while, and eventually ends without deleting the
feature, and doesn't throw an error?  Would there be anything in the
logs I could look for?

 

Fyi, when I run the original markup app side-by-side, the features are
deleted with no problems.

Thanks for any suggestions.

 

Warren M

   

 

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


[mapguide-users] MapGuide Markup app and MgDeleteFeatures

2009-03-27 Thread Warren Medernach
Hello all,

I am trying to port some of the GT Markup app to code-behind aspx
classes.  When I do this, the Delete Markup Feature functionality is not
functioning from code behind?  

 

The only changes I made to the code that was working in the original
markup app are:

I'm calling a function to retrieve the markup name (GetFullMarkupName)
and I'm passing in the ID I'm trying to delete.

 

MgFeatureService featureService =
(MgFeatureService)app_Markup.site.CreateService(MgServiceType.FeatureSer
vice);

MgResourceIdentifier featureSourceId = new
MgResourceIdentifier(app_Markup.GetFullMarkupName());

 

MgFeatureCommandCollection commands = new MgFeatureCommandCollection();

MgDeleteFeatures deleteFeat = new MgDeleteFeatures("Markup", "ID=" +
ID);

commands.Add(deleteFeat);

 

featureService.UpdateFeatures(featureSourceId, commands, false);

 

Through debugging I have verified that the featureSourceId is pointing
to the correct FeatureSource, the ID is getting passed through and the
DeleteFeatures statement is correct, but when it calls UpdateFeatures,
it spins away for a while, and eventually ends without deleting the
feature, and doesn't throw an error?  Would there be anything in the
logs I could look for?

 

Fyi, when I run the original markup app side-by-side, the features are
deleted with no problems.

Thanks for any suggestions.

 

Warren M

   

 

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


RE: [mapguide-users] Zoom To Selection

2009-03-12 Thread Warren Medernach
Hi Michael,

MapGuide does have this functionality.  In the Basic WebLayout, if you
create a 'Search', it provides the ability to zoom to a result of the
search.  Check out the Sheboygan sample and the SheboyganAsp WebLayout.

 

In the Fusion Layouts, check out the Search Widget for the same
functionality.

Hope this helps

 

Warren M

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Michael G.
Byrne
Sent: Thursday, March 12, 2009 2:44 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Zoom To Selection

 

The capability to zoom to a feature (such as by clicking a feature in a
list of features found by a search) should be a basic capability of a
GIS system - why doesn't Mapguide and fusion have it out of the box?  

 

Michael

 

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Nisha P
Sent: Wednesday, 11 March 2009 11:17 p.m.
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Zoom To Selection

 

Hi Padmini..
   In which file u wrote this code?or is it an in-built file?

On Thu, Dec 18, 2008 at 3:52 PM, padmini godavarthi
 wrote:



Hi,
Iam using Mapguide Opensource 2.0 (with .net 2.0 +IIS 5.1)

I want to query the parcel_id and zoomed it on the map

may code is


  NameValueCollection serverVars = Request.ServerVariables;
  String strServerVars = "";
  foreach (String str in serverVars.AllKeys)
  {

  strServerVars += "" + str;

  }
  String platform = serverVars["SERVER_SOFTWARE"];
  String queryStr = serverVars["QUERY_STRING"];
  string queryStr1 = serverVars["Form"];
  NameValueCollection requestParams = Request.HttpMethod == "POST" ?
Request.Form : Request.QueryString;
  String sessionId = Request.QueryString["SESSION"];
  //String sessionId = Request.QueryString["SESSION"]; ;

  string realPath = Request.ServerVariables["APPL_PHYSICAL_PATH"];
  String configPath = realPath + "webconfig.ini";
  MapGuideApi.MgInitializeWebTier(configPath);

  MgUserInformation userInfo = new MgUserInformation(sessionId);

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

  MgResourceService resService =
(MgResourceService)siteConnection.CreateService(MgServiceType.ResourceSe
rvice);
  MgFeatureService featureService =
(MgFeatureService)siteConnection.CreateService(MgServiceType.FeatureServ
ice);

  MgMap map = new MgMap();
  map.Open(resService, "oramap");


  MgFeatureQueryOptions nameQuery = new MgFeatureQueryOptions();

//nameQuery.SetFilter(ConfigurationManager.AppSettings["FieldToFilter"]
+
"=" + Globals.gURLParam);
  nameQuery.SetFilter("PARCEL_ID" + "=" + "670_111");
  MgResourceIdentifier parcelId = new
MgResourceIdentifier("Library://Orasample/resora.FeatureSource");
  MgFeatureReader featureReader =
featureService.SelectFeatures(parcelId, "GEOM_TABLE", nameQuery);

  //Highlight the query result on the map
  MgSelection selection = new MgSelection(map);
  MgLayer layer = (MgLayer)map.GetLayers().GetItem("GEOM_TABLE");


  featureReader = featureService.SelectFeatures(parcelId,
"GEOM_TABLE", nameQuery);
  selection.AddFeatures(layer, featureReader, 0);
String selectXML = selection.ToXml();
  selection.Save(resService, "oramap");
  Page.ClientScript.RegisterStartupScript(Page.GetType(), "test",
"select('" + selectXML + "');", true);
}

but i got an error at

 MgFeatureReader featureReader = featureService.SelectFeatures(parcelId,
"GEOM_TABLE", nameQuery);


1)can u plz tell me what do u man by faeture class name?
from where i will gt it?

Thanks and Regards,
Padmini.
--
View this message in context:
http://www.nabble.com/Zoom-To-Selection-tp21070073p21070073.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




-- 
Nisha P
IIITM-K
ni...@iiitmk.ac.in

 



Tonkin & Taylor: Celebrating 50 years in 2009
http://www.tonkin.co.nz



This email is only intended to be read by the named recipient. It may
contain information that is confidential, proprietary or the subject of
legal privilege. If you are not the intended recipient please notify the
sender immediately and delete this email. You may not use any
information contained in it. Legal privilege is not waived because you
have read this email.

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


RE: [mapguide-users] Base64 encoding decoding scenarios

2009-03-06 Thread Warren Medernach
Ah ha!, thanks so much Traian, that explains it better.

I think you've kicked me onto the right path!

 

Thanks again.

Warren

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Traian
Stanev
Sent: Friday, March 06, 2009 1:09 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Base64 encoding decoding scenarios

 

 

You have to know the data type of the thing you are decoding. If it is a
string, the decoded byte array is a utf8 string with a null terminator.
So you have to look at it as an array of bytes, and not a number.

 

If I take the integer 892744497 and convert to hex using little endian,
I get the bytes { 0x31, 0x33, 0x36, 0x35 }. If I look at this as an
array of characters, it corresponds to { '1', '3', '6', '5'}.  Does that
look familiar?

 

Traian

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medermach (External)
Sent: Friday, March 06, 2009 1:58 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Base64 encoding decoding scenarios

 

No ideas, comments, suggestions from anyone?  ;-)

 

Warren M

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Monday, March 02, 2009 10:43 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Base64 encoding decoding scenarios

 

I'm working on decoding the UIDs passed in the selection XML, and I want
to thank the group for all of the posts on decoding base 64 as I can
successfully decode a UID now!

 

However, when I attempt to decode a UID that is NOT made up a single
integer field, I'm running into some problems:

 

Scenario #1:

If the UID consists of 2 integer fields, upon decoding, only the first
value is returned.

Example, objects Key fields are: 

 UID1: value=1684

 UID2: value=1365

 

When I decode this, only the first value, 1684, is returned.

Do I need to do something different for decoding a feature where there
are multiple key fields?

 

Scenario #2

If the UID consists of a text field, the decoded value is incorrect.

Example, object UID = '1365-1684'

Decoded, the returned value is: 892744497

And I noticed if multiple objects are selected, it seems all of the
decoded values are: 892744497

 

Any comments, ideas, suggestions would be greatly appreciated.

Warren M

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


RE: [mapguide-users] Base64 encoding decoding scenarios

2009-03-06 Thread Warren Medernach
No ideas, comments, suggestions from anyone?  ;-)

 

Warren M

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Monday, March 02, 2009 10:43 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Base64 encoding decoding scenarios

 

I'm working on decoding the UIDs passed in the selection XML, and I want
to thank the group for all of the posts on decoding base 64 as I can
successfully decode a UID now!

 

However, when I attempt to decode a UID that is NOT made up a single
integer field, I'm running into some problems:

 

Scenario #1:

If the UID consists of 2 integer fields, upon decoding, only the first
value is returned.

Example, objects Key fields are: 

 UID1: value=1684

 UID2: value=1365

 

When I decode this, only the first value, 1684, is returned.

Do I need to do something different for decoding a feature where there
are multiple key fields?

 

Scenario #2

If the UID consists of a text field, the decoded value is incorrect.

Example, object UID = '1365-1684'

Decoded, the returned value is: 892744497

And I noticed if multiple objects are selected, it seems all of the
decoded values are: 892744497

 

Any comments, ideas, suggestions would be greatly appreciated.

Warren M

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


[mapguide-users] Base64 encoding decoding scenarios

2009-03-02 Thread Warren Medernach
I'm working on decoding the UIDs passed in the selection XML, and I want
to thank the group for all of the posts on decoding base 64 as I can
successfully decode a UID now!

 

However, when I attempt to decode a UID that is NOT made up a single
integer field, I'm running into some problems:

 

Scenario #1:

If the UID consists of 2 integer fields, upon decoding, only the first
value is returned.

Example, objects Key fields are: 

 UID1: value=1684

 UID2: value=1365

 

When I decode this, only the first value, 1684, is returned.

Do I need to do something different for decoding a feature where there
are multiple key fields?

 

Scenario #2

If the UID consists of a text field, the decoded value is incorrect.

Example, object UID = '1365-1684'

Decoded, the returned value is: 892744497

And I noticed if multiple objects are selected, it seems all of the
decoded values are: 892744497

 

Any comments, ideas, suggestions would be greatly appreciated.

Warren M

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


RE: [mapguide-users] Get Layer ResourceID via API

2009-01-19 Thread Warren Medernach
I apologize...  just found GetLayerDefinition
<https://mapguide.osgeo.org/files/mapguide/docs/webapi/d5/db1/class_mg_l
ayer_base_040ffa5881d6563cc2b0ba58b4f7f2c7.htm#040ffa5881d6563cc2b0ba58b
4f7f2c7>  ()

 

When I first looked at this call, I thought it would return the layer
definition xml, not the ResourceID...

I knew it was something simple...

 

Warren M

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Monday, January 19, 2009 11:41 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Get Layer ResourceID via API

 

Hello all,

 

I think I'm missing something simple...

I want to get the ResourceId for a specific layer, where I know the
layer name.

 

IOW, in code I have iterated through the layers in the layercollection
and have found the specific layer I am interested in (Parcels).  How can
I get the ResourceId for this (Parcels) layer?

 

Thanks so much

Warren M

 

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


[mapguide-users] Get Layer ResourceID via API

2009-01-19 Thread Warren Medernach
Hello all,

 

I think I'm missing something simple...

I want to get the ResourceId for a specific layer, where I know the
layer name.

 

IOW, in code I have iterated through the layers in the layercollection
and have found the specific layer I am interested in (Parcels).  How can
I get the ResourceId for this (Parcels) layer?

 

Thanks so much

Warren M

 

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


RE: [mapguide-users] GT Markup sample problems

2009-01-13 Thread Warren Medernach
Thanks for the kick in the right direction Kenneth.

I appears it was a situation of incorrect DLL versions.


Thanks again

Warren M

 

 

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kenneth
Skovhede, GEOGRAF A/S
Sent: Monday, January 12, 2009 4:23 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] GT Markup sample problems

 

You can get a sort of corruption, if you manage to save xml with
a byte encoding header into the repositories.

The error below usually appears when you are using incompatible
binaries, ea
using MapGuide 2.0 binaries to communicate with a 2.0.2 server.

Is it possible to render the map at all?
If not, one of the layers are likely broken for some reason.
Try removing layers from the map until it displays.



Regards, Kenneth Skovhede, GEOGRAF A/S



Warren Medernach skrev: 

This is extremely frustrating...

 

I setup the GT sample app and was testing the markup functionality.
(WinXP, IIS, MGE 2009)

Everything was working great with creating lines and points.

Then MG 'hiccups' and freezes up...   so I have to reset IIS, restart
the MG service to get MG back up and running.

Now when I run the GT Markup sample I get the following error when
attempting to markup:

 

Invalid stream header exception. 

Invalid stream header exception. Exception occurred in method
MgCommand.GetResponse at line 152 in file
d:\buildforgeprojects\carrera_nightly\build_26.9\ent\os\common\mapguidec
ommon\Services/Command.cpp  

 

What the?!?   There were no code changes, nothing, just simple reset
after MG froze up and now this is the result?

I thought maybe the Markup SDF got corrupted, so I deleted it, and had
the app re-create it, still doesn't work.

Is it possible that the repositories got corrupted?

 

Any ideas on how to resolve this would be greatly appreciated.

Thanks!

 

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


[mapguide-users] GT Markup sample problems

2009-01-12 Thread Warren Medernach
This is extremely frustrating...

 

I setup the GT sample app and was testing the markup functionality.
(WinXP, IIS, MGE 2009)

Everything was working great with creating lines and points.

Then MG 'hiccups' and freezes up...   so I have to reset IIS, restart
the MG service to get MG back up and running.

Now when I run the GT Markup sample I get the following error when
attempting to markup:

 

Invalid stream header exception. 

Invalid stream header exception. Exception occurred in method
MgCommand.GetResponse at line 152 in file
d:\buildforgeprojects\carrera_nightly\build_26.9\ent\os\common\mapguidec
ommon\Services/Command.cpp  

 

What the?!?   There were no code changes, nothing, just simple reset
after MG froze up and now this is the result?

I thought maybe the Markup SDF got corrupted, so I deleted it, and had
the app re-create it, still doesn't work.

Is it possible that the repositories got corrupted?

 

Any ideas on how to resolve this would be greatly appreciated.

Thanks!

 

Warren M

 

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


RE: [mapguide-users] using Map3D styled feature layers in MapGuide

2008-12-20 Thread Warren Medernach
Hi Jeff,
I don't believe the.layer file, as it is, can be loaded into MapGuide.
I suppose it could be tweaked/modified to match the xml structure of a layer 
def in MapGuide, and then pushed into MapGuide via the MapAgent tool.  But the 
easist method is probably just publishing the layer directly to MapGuide from 
AutoCAD Map.
 
Hope this helps.
Warren M

 


From: mapguide-users-boun...@lists.osgeo.org on behalf of JeffJensen
Sent: Fri 12/19/2008 6:47 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] using Map3D styled feature layers in MapGuide




Hello MapGuide Users,

How do I load a Map3D styled feature layer (XML file with .layer extension)
in MapGuide Server?

Map3D 2009 documentation discusses the .layer file (
http://images.autodesk.com/adsk/files/autocad_map_3d_user_s_guide.pdf#page=571).
This is a handy way to preserve your symbology/thematic maps and data
connections to GIS data such as shapefiles. The end user can just drag and
drop the .layer into the Display Manager of Map3D and assuming you haven't
broken the link to the shapefile by moving it, you should have thematic map.
I was told this .layer file can also be used with MapGuide but I don't see
how I can load into MapGuide Studio or where to upload the file into
MapGuide Server.

Thank you for your assistance,

Jeff Jensen
--
View this message in context: 
http://www.nabble.com/using-Map3D-styled-feature-layers-in-MapGuide-tp21099207p21099207.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] Tracking vehicles, Displaying positions

2008-11-07 Thread Warren Medernach
Yes, AutoCAD Map can import, export, and direct connect to SHP files.

A DXF is an Autodesk 'exchange format' and can also be read by AutoCAD
Map.

 

Yes, MapGuide can import and connect (external) to SHP files.

 

Hope this helps


Warren M

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carmelo
Saffioti
Sent: Friday, November 07, 2008 9:12 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tracking vehicles, Displaying positions

 

I don't have Autocad Map, but I'm planning to get the trial version to
do this job faster...

For exporting shape files do I need Autocad Map? Do MapGuide import
shape files? Some people told me that it can import DXF files...

 

- Original Message - 

From: Berdel, Brian   

To: MapGuide Users Mail List
  

Sent: Friday, November 07, 2008 3:20 PM

Subject: RE: [mapguide-users] Tracking vehicles, Displaying
positions

 

Do you have Autocad map or land desktop?  If so you can export
to shape files. 

 

Brian 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carmelo
Saffioti
Sent: Friday, November 07, 2008 4:22 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tracking vehicles, Displaying
positions

 

Hi Kenneth,

thank you for your suggestion. I stored NMEA data with separate
columns for lat/lon...

Regarding DWG import, I'd like open source solutions, do you
know anything about? DWG is proprietary, but if I export to DXF is there
any open source solution to import it into MapGuide?

 

Cheers

Carmelo

 

- Original Message - 

From: Kenneth Skovhede, GEOGRAF A/S
  

To: MapGuide Users Mail List
  

Sent: Thursday, November 06, 2008 9:17 AM

Subject: Re: [mapguide-users] Tracking vehicles,
Displaying positions

 

Hi Carmelo.

If you pre-process your NMEA data and extract lat/lon
values into columns, you 
can use the ODBC provider and make points of the
columns.
I would suggest some kind of service that regularly does
this on the MySql server.

Since DWG is a proprietary format, you can't do it with
open source tools.
Autodesk MapGuide Studio can import a DWG for you, and
it is fairly inexpensive.



Regards, Kenneth Skovhede, GEOGRAF A/S



Carmelo Saffioti skrev: 

Hi everybody,
I need to develop a system for tracking and displaying
vehicles
positions. I'm storing NMEA gps sentences into a MySql
DB. Now I'd
like to display these positions on a map. How can I do?
I'm new to
this, can you give me any suggestion?
I have to create the map too, because this zone is not
mapped. Is it
possible to create a map from a DWG cad file?

 

I hope you can help me
Cheers
Carmelo 

 






 
 
 
___
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 studio...

2008-11-06 Thread Warren Medernach
Hello Nisha,

 

I'm not sure exactly what you mean by 'import data connection
successfully, but the Autodesk License Manager is only required if you
have MapGuide Enterprise installed.

If this is the case, the license manager also needs to be installed, and
you need to contact Autodesk to generate a license file for you.  To do
this, you will need 3 pieces of information:

Serial #

Server name

MAC Address

 

Hope this helps

Warren M

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nisha P
Sent: Thursday, November 06, 2008 11:12 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] mapguide studio...

 

Hi all,
i hav installed mapguide studio2009...and i can import data connection
successfully...
But when i import layer, an error will occurs and the window is
closed...
is there any licence manager will be installed?
can anyone help me regarding this prblm???



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


RE: [mapguide-users] Installing Mapguide 6.5 on Vista

2008-11-05 Thread Warren Medernach
Hi Ross,

You're probably going to be better served over on the Autodesk MapGuide
discussion groups:

http://discussion.autodesk.com/forums/forum.jspa?forumID=88


Warren M

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ross
Coulman
Sent: Wednesday, November 05, 2008 6:24 AM
To: mapguide-users@lists.osgeo.org
Cc: [EMAIL PROTECTED]
Subject: [mapguide-users] Installing Mapguide 6.5 on Vista

 

Would be grateful if anyone has successfully installed Mapguide 6.5
server on Windows Vista 32 Bit?

Mapguide obviously wants to look for MDAC to install, but Vista is
shipped with MDACs replacement WDAC.

Is there a method to get Mapguide to recognise WDAC?

Thank you in advance,

 

Ross

Ross Coulman

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


[mapguide-users] FDO for Intergraph GeoMedia SQL Server

2008-10-22 Thread Warren Medernach
Hello Carl,

 

I see this is quite an old post, but I'm curious what you found out with
respect to an FDO Provider for GeoMedia?

 

We are working with a client that is in a similar situation, so we are
considering an FME integrated solution, and also looking at the
possibility of developing a standalone FDO Provider for GeoMedia.

 

Thanks so much.

 

Warren Medernach

 

 

>Is there anyone working on an FDO provider for Intergraph GeoMedia with


>a SQL Server warehouse?

 

>Just curious.

 

>Carl

 

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


RE: [mapguide-users] Re: Print Layout - 2 questions...

2008-10-03 Thread Warren Medernach
Perfect!

Thanks for the info Kenneth.

 

Warren M

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
Skovhede, GEOGRAF A/S
Sent: Friday, October 03, 2008 11:54 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Re: Print Layout - 2 questions...

 

Not sure if he got the answers, but here they are:
1. You must change it in ajaxmappane.templ (line 293):
Look for:

var us = true;

and change to:

var us = false;

You have to change this every time update your MapGuide installation.

2. There is no built in way to do this, you must modify
printablepage.templ.
Its a HTML file that gets sent to the browser with the map items
injected.
You can set a logo anywhere on the page using some html:



If you want different printable pages for different solutions, you have
to modify 
at least printablepageui.templ.

Again, you have to change this every time update your MapGuide
installation.


The files I mention are all located in:

C:\Program
files\MapGuideOpenSource2.0\WebServerExtensions\www\viewerfiles
Regards, Kenneth Skovhede, GEOGRAF A/S



Warren Medernach skrev: 

Hi Andrew,
Were you ever able to resolve this print layout issue?
 
Warren M
 
 
  

I've got 2 questions about PrintLayouts1) How do I make my
units


metres? I've got >every instance of  set to metres in my
PrintLayout, and yet my scale bar insists >that the units are feet. 2)
How the heck do you get a custom logo?? It seems so simple, >but I can't
get it to work for the life of meI've got a symbol library called
  

"Logo", and in it there is one symbol called "Gemlogo-smaller".
I've


tried all sorts of >variations on ResourceIDs, but can't get it. 
 
  

Andrew


___
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: Print Layout - 2 questions...

2008-10-03 Thread Warren Medernach
Hi Andrew,
Were you ever able to resolve this print layout issue?

Warren M


>I've got 2 questions about PrintLayouts1) How do I make my units
metres? I've got >every instance of  set to metres in my
PrintLayout, and yet my scale bar insists >that the units are feet. 2)
How the heck do you get a custom logo?? It seems so simple, >but I can't
get it to work for the life of meI've got a symbol library called
>"Logo", and in it there is one symbol called "Gemlogo-smaller". I've
tried all sorts of >variations on ResourceIDs, but can't get it. 

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


RE: [mapguide-users] Scribble R2

2008-08-21 Thread Warren Medernach
Thanks Andy,

 

I had copied the DLLs, but it still wasn't working.

I ended up removing the app in IIS and re-creating it, and it is working
now.

 

Now onto see what it's going to take to get this running in Fusion...
;-)

 

Warren M

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Morsell
Sent: Thursday, August 21, 2008 3:26 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Scribble R2

 

It should work on MGE 2009 since the API changes were the same, but I
have not tried it.  Try replacing the dll files in the Bin directory
with the ones from MGE and see if that works.  If not, are you getting
any error messages?

 

Andy 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Warren
Medernach
Sent: Thursday, August 21, 2008 1:55 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Scribble R2

 

I have setup the Scribble app as described, but can only get it to run
under an MGOS install?

Should I not be able to get this running on an install of MGE 2009?

 

Thanks


Warren Medernach

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Morsell
Sent: Thursday, August 14, 2008 2:42 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Scribble R2

 

I did not build the application, I just modified it to be compatible
with MGOS 2.0 and made some other tweaks.  It was originally created by
Dennis Jonio for MGOS 1.2.  In my particular case, a client is looking
for a .NET markup tool so I was looking at Dennis' scribble application
as a good starting point since the GT redlining app is PHP and nobody
has translated it to .NET yet.  This client uses AJAX layouts or I would
probably look more closely at a Fusion / OpenLayers solution.
Personally, I prefer Fusion and it is my layout of choice, but it's not
always my decision to make.

 

Hopefully people will start to create new Fusion widgets and contribute
those back to the community as well.

 

Andy 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rock Beans
Sent: Thursday, August 14, 2008 1:07 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Scribble R2

 

On more of a personal level is there a reason why you didn't make this
with Fusion in mind. I have bounced the idea of using the Flexible or
Standard layouts quite a bit and the one thing that gets me is will
Fusion become standard as far as development and support. Any thoughts
on your preferences?

On Thu, Aug 14, 2008 at 2:25 PM, Andy Morsell <[EMAIL PROTECTED]>
wrote:

I have not tried to integrate it into a Fusion layout, so I don't know
for sure what it would take.  I can guarantee that much will be broken
since it references the AJAX frameset objects.

 

Andy 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rock Beans
Sent: Thursday, August 14, 2008 12:11 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Scribble R2

 

Is it easy to use with Fusion layouts as well?

On Thu, Aug 14, 2008 at 11:57 AM, Andy Morsell <[EMAIL PROTECTED]>
wrote:

Hi all,

I just wanted everyone to know that I have modified the Scribble
community code sample that has been available on the wiki for some time
to be compatible with MapGuide Open Source 2.0.  I have also made some
changes to the application that allow it to be dropped into any generic
task pane in any AJAX web layout.  I have also bundled all needed dll's
and have created a new zip file of the entire package.  Please see the
existing Scribble page for more information:

 

http://trac.osgeo.org/mapguide/wiki/CodeSamples/ASP.Net/ScribbleApp

 

I hope this helps others.

 

Andy Morsell, P.E.

Spatial Integrators, Inc.

www.SpatialGIS.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] Scribble R2

2008-08-21 Thread Warren Medernach
I have setup the Scribble app as described, but can only get it to run
under an MGOS install?

Should I not be able to get this running on an install of MGE 2009?

 

Thanks


Warren Medernach

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Morsell
Sent: Thursday, August 14, 2008 2:42 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Scribble R2

 

I did not build the application, I just modified it to be compatible
with MGOS 2.0 and made some other tweaks.  It was originally created by
Dennis Jonio for MGOS 1.2.  In my particular case, a client is looking
for a .NET markup tool so I was looking at Dennis' scribble application
as a good starting point since the GT redlining app is PHP and nobody
has translated it to .NET yet.  This client uses AJAX layouts or I would
probably look more closely at a Fusion / OpenLayers solution.
Personally, I prefer Fusion and it is my layout of choice, but it's not
always my decision to make.

 

Hopefully people will start to create new Fusion widgets and contribute
those back to the community as well.

 

Andy 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rock Beans
Sent: Thursday, August 14, 2008 1:07 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Scribble R2

 

On more of a personal level is there a reason why you didn't make this
with Fusion in mind. I have bounced the idea of using the Flexible or
Standard layouts quite a bit and the one thing that gets me is will
Fusion become standard as far as development and support. Any thoughts
on your preferences?



On Thu, Aug 14, 2008 at 2:25 PM, Andy Morsell <[EMAIL PROTECTED]>
wrote:

I have not tried to integrate it into a Fusion layout, so I don't know
for sure what it would take.  I can guarantee that much will be broken
since it references the AJAX frameset objects.

 

Andy 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rock Beans
Sent: Thursday, August 14, 2008 12:11 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Scribble R2

 

Is it easy to use with Fusion layouts as well?

On Thu, Aug 14, 2008 at 11:57 AM, Andy Morsell <[EMAIL PROTECTED]>
wrote:

Hi all,

I just wanted everyone to know that I have modified the Scribble
community code sample that has been available on the wiki for some time
to be compatible with MapGuide Open Source 2.0.  I have also made some
changes to the application that allow it to be dropped into any generic
task pane in any AJAX web layout.  I have also bundled all needed dll's
and have created a new zip file of the entire package.  Please see the
existing Scribble page for more information:

 

http://trac.osgeo.org/mapguide/wiki/CodeSamples/ASP.Net/ScribbleApp

 

I hope this helps others.

 

Andy Morsell, P.E.

Spatial Integrators, Inc.

www.SpatialGIS.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] Upgrade to 2.0 Question

2008-07-17 Thread Warren Medernach
I've also been told (sorry, can't remember where or who) that if you
load a package from a previous release you should also run the
UpgradeRepositories.bat & SetupRepositoryIndices.bat batch files located
in the ..\Server\RepositoryAdmin folder.

Can somebody verify that this is a required step?

Warren M


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Morsell
Sent: Thursday, July 17, 2008 10:35 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Upgrade to 2.0 Question

I've personally found that the easiest way to upgrade is to first export
a
package of your ENTIRE 1.2 repository and then load that package into
your
2.0 site.  You may want to re-install 1.2 somewhere, export your
repository,
then re-install 2.0 so that it's initially working and then load the
package.


Andy Morsell, P.E.
Spatial Integrators, Inc.
www.SpatialGIS.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Thursday, July 17, 2008 9:20 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Upgrade to 2.0 Question

Hello,

I have successfully upgraded a windows server 2003 system following the 
migration instructions.

In attempting to upgrade an XP SP2 system I made a mistake and did not 
uninstall V1.2 before installing v2.0. I realized my mistake and 
uninstalled v1.2 and then v2.0. I then re-installed v2.0 but have not 
had much success.

The Mapguide service will not start in a reboot of the system. I see 
errors in the error log indicating the repository version is incorrect 
(V5 instead of V6). I have tried running the UpgradeRepositories.bat but

get errors upgrading the Site repository and Library repository stating 
the "Program version 4.5 doesn't match environment version ". I have

tried this with my 1.2 repositories and also with the repositories that 
are installed right from v2.0.

I am guessing I have some registry setting or some environment variable 
that was not cleared out by the removal of v1.2 but I have not found 
anything.

Any suggestions on how to clean this up and just install 2.o from 
scratch? I have my repositories from 1.2 backed up elsewhere.

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


RE: [mapguide-users] Fusion - one AppDef many maps best approach?

2008-05-13 Thread Warren Medernach
This is exactly what I want to accomplish as well Andy.
In our case, we have an app where we have different logins to allow
access to different 'maps', but I want a common application wrapper
around all of these maps, and I was hoping I could do that with Fusion.


Looks like the 'mapResource' method described below might be the way to
tackle this.

Warren Medernach


To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Fusion - one AppDef many maps best
approach?

Andy,

Fusion doesn't support that use-case right now although you might be 
able to look at the MapMenu widget to see if that might fit your needs, 
or you may be able to customize it to suit. The MapMenu supports loading

a list of Map definitions from a MapGuide folder resource, i.e point it 
at a MapGuide Library://some/folder and it will enumerate all the 
MapDefinition items and list them in the menu.

The other approach would be to modify Fusion to accept a 'mapResource' 
URL parameter that would override the ResourceId pointer in a MapGroup, 
in this case the  element in AppDef would represent a 
template.

Mike

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


RE: [mapguide-users] Unsubscribe

2008-05-12 Thread Warren Medernach
Hi Shawn,

You can unsubscribe at the following link:

http://lists.osgeo.org/mailman/listinfo/discuss

 

Warren Medernach

 

Subject: [mapguide-users] Unsubscribe

 

Hey Folks,

 

Our Mapguide development is on hold so can you unsubscribe me from your
list...thanks.

 

 

Shawn M. MacDonald

Environmental Coordinator

Environmental Services

Defence Construction Canada (DCC)

(613) 949-7713

 

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


RE: [mapguide-users] Fusion Selection Error | Symbols

2008-05-09 Thread Warren Medernach
I just had this exact error and in this case it was due to layer being
in the incorrect CS, so it was not actually visible at the time...

Warren M

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Adair
Sent: Friday, May 09, 2008 1:42 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Fusion Selection Error | Symbols

That error typically occurs after an AJAX call that returns invalid JSON

- usually due to exceptions being thrown in a PHP script.   The more 
recent versions of Fusion give a better error  message (location, 
message and stack trace filled in).  You can also see what the error 
message is in the Firebug console.

Having said that, it's difficult to tell exactly which PHP is causing 
trouble, but trying to select something indicates it is in the Query.php

script.  There was a fix to Query.php not too long ago related to null 
property values.  What version of fusion are you using?

Mike

Martin Morrison wrote:
>
> We seem to be getting this error while making small changes to the 
> interface.  We tried upgrading Fusion, it helped some, but it still 
> has issues.  Maybe someone with more Fusion experience can chime in.
>
> Martin
>
>
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel,

> Brian
> *Sent:* Friday, May 09, 2008 2:00 PM
> *To:* MapGuide Users Mail List
> *Subject:* [mapguide-users] Fusion Selection Error | Symbols


> I am getting an ajax callback error when trying to select a point with

> a custom symbol.  Anyone else experiencing this?
>
> Brian

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


[mapguide-users] GT Samples in .Net

2008-04-29 Thread Warren Medernach
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


RE: [mapguide-users] MapGuide Manual

2007-12-06 Thread Warren Medernach
Just want to clarify...
So this isn't really a for creation of MapGuide 'manual' (reference
material), but rather 'training' content?

Warren M


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim O'Leary
Sent: Thursday, December 06, 2007 12:53 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] MapGuide Manual


Osgeo is a wiki for a wide range of purposes. MapGuide Manual is a wiki
with one purpose. Its goal is to build Open Source curriculum for
MapGuide. I think that the focus of this goal makes it work best in its
own wiki.


zspitzer wrote:
> 
> why not use the existing osgeo wiki?
> 
> On Dec 6, 2007 1:59 AM, Jim O'Leary <[EMAIL PROTECTED]> wrote:
>>
>> Hello everyone
>>
>> MapGuide Manual is online at
>>
>> http://techearth.net/gis/mapguideManual/
>>
>> The purpose of this site is to provide curriculum for MapGuide. We 
>> have implemented the site as a wiki in order to allow the Open Source

>> community to contribute to it.
>>
>> You will find instructions for becoming an editor on the site.
>>
>> Enjoy
>> --
>> View this message in context:
>> http://www.nabble.com/MapGuide-Manual-tf4950199s16610.html#a14173401
>> 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
>>
> 
> 
> 
> --
> Zac Spitzer -
> http://zacster.blogspot.com (My Blog)
> +61 405 847 168
> ___
> 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/MapGuide-Manual-tf4950199s16610.html#a14187290
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] Errors in PHP viewer...

2007-10-31 Thread Warren Medernach
Thanks Kayne,
 
At least it's not specific to my install then...
 
Warren M
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kayne M.
Morvant
Sent: Wednesday, October 31, 2007 1:37 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Errors in PHP viewer...


Yes, I have noticed that as well.  I haven't noticed any issues in the
viewer as a result of the errors, but it is annoying nonetheless.

-Kayne

At 03:28 PM 10/31/2007 -0400, you wrote:


Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="_=_NextPart_001_01C81BF4.281CCA86"

[Wed Oct 17 10:45:39 2007] [error] [client 139.48.252.181]
FastCGI: server "C:/Program
Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe" stderr:
PHP Warning:  Missing argument 7 for BuildClientSideTree(), called in
C:\\Program
Files\\MapGuideOpenSource\\WebServerExtensions\\www\\mapviewerphp\\legen
d.php on line 89 and defined in C:\\Program
Files\\MapGuideOpenSource\\WebServerExtensions\\www\\mapviewerphp\\legen
d.php on line 181, referer: http://:8008/mapguide/mapviewerphp/legendctrl.php?MAPNAME..
<http://:8008/mapguide/mapviewerphp/legendctrl.php?MAPNAME..> 
 
Has nobody else seen this in the Apache Error logs?
Is this just something specific to my installation?
 
Thanks for any info...
 
Warren Medernach
 




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Warren
Medernach
Sent: Wednesday, October 03, 2007 3:54 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] Errors in PHP viewer...

Hello all,
 
I've been tracking some errors on a php application we have, and
I have found that there is a function in the legend.php called
BuildClientSideTree that takes 7 parameters.  However in every call to
this function in this legend.php file, it is only passing 6 arguements?
 
Anybody else run into this?

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


-
Kayne Morvant
C & C Technologies, Inc. 
730 E. Kaliste Saloom Rd. 
Lafayette, LA 70508 
Phone: 337-261-0660 ext. 3431
Direct Line: 337-735-3667
Fax: 337-261-0192
Email: [EMAIL PROTECTED]
-



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


RE: [mapguide-users] Errors in PHP viewer...

2007-10-31 Thread Warren Medernach
[Wed Oct 17 10:45:39 2007] [error] [client 139.48.252.181] FastCGI:
server "C:/Program
Files/MapGuideOpenSource/WebServerExtensions/Php/php-cgi.exe" stderr:
PHP Warning:  Missing argument 7 for BuildClientSideTree(), called in
C:\\Program
Files\\MapGuideOpenSource\\WebServerExtensions\\www\\mapviewerphp\\legen
d.php on line 89 and defined in C:\\Program
Files\\MapGuideOpenSource\\WebServerExtensions\\www\\mapviewerphp\\legen
d.php on line 181, referer: http://:8008/mapguide/mapviewerphp/legendctrl.php?MAPNAME..
:8008/mapguide/mapviewerphp/legendctrl.php?MAPNAME..> 
 
Has nobody else seen this in the Apache Error logs?
Is this just something specific to my installation?
 
Thanks for any info...
 
Warren Medernach
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Warren
Medernach
Sent: Wednesday, October 03, 2007 3:54 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] Errors in PHP viewer...


Hello all,
 
I've been tracking some errors on a php application we have, and I have
found that there is a function in the legend.php called
BuildClientSideTree that takes 7 parameters.  However in every call to
this function in this legend.php file, it is only passing 6 arguements?
 
Anybody else run into this?

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


[mapguide-users] Errors in PHP viewer...

2007-10-03 Thread Warren Medernach
Hello all,
 
I've been tracking some errors on a php application we have, and I have
found that there is a function in the legend.php called
BuildClientSideTree that takes 7 parameters.  However in every call to
this function in this legend.php file, it is only passing 6 arguements?
 
Anybody else run into this?

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