Re: [mapguide-users] Supported WMS and WFS in MapGuide

2008-10-17 Thread gom

I can succesfully use wms in ArcMAP 9.3, from Mapguide 1.2.

These are my WMS layer seettings in Mapguide.

Bounds

Other SRS
EPSG:26912

This is what I have as my wms string in ArcMAP
http://myserver.com/mapguide/mapagent/mapagent.fcgi?



Alex Fordyce wrote:
> 
> 
> Via WMS I've tried to serve the Sheboygan sample data to ArcGIS 9.2 and
> haven't really been successful yet. I'm using mgos 2.0.2 and both mgos and
> arcgis are on the same internal domain. 
> 
> ArcGIS sees my mg WMS server and pulls the layers over. However, the
> layers
> do not display.
> 
> The documentation for both MG and ArcGIS claim to support OGC:WMS 1.1.1
> 
> Has anyone been successful using this configuration? Any ideas?
> 
> thanks,
> alex
> 
> 
> 
> zspitzer wrote:
>> 
>> I think you can test the server side capabilities using the web tier
>> tests
>> which allows passing a version
>> 
>> http://locahost:8008/mapguide/mapagent/
>> 
>> there are a few quirks with WMS in there, GetMap returns only layers (
>> and a list of them )
>> rather than maps, there's no caching and or http cache semantics either
>> 
>> this document gives a nice nice overview of WMS support tho
>> 
>> http://feeds.autodesk.com/servlet/JiveServlet/download/233-594160-5688489-163673/ConfiguringAWMSFeatureSource.doc
>> 
>> 
>> 
>> On Fri, Oct 17, 2008 at 7:12 AM, BradM <[EMAIL PROTECTED]> wrote:
>>>
>>> WMS is critical to the success of my mapguide applications.   Can anyone
>>> answer Kenneth?
>>>
>>> Kenneth Skovhede, GEOGRAF A/S wrote:

 If found the following document describing the versions of WMS and WFS
 supported in MapGuide:
 http://mapguide.osgeo.org/faq_ogcserices.html

 The page appears quite outdated: "as soon as the FDO providers for WMS
 and WFS are available".

 The above mentioned page is not making a clear distinciton between
 being
 a client and being a server.
 There was no apparent mentioning of WMS/WFS versions on the FDO website
 either.


 My questions are:
 1. What versions are supported when MapGuide is a WMS/WFS server?
 2. What versions are supported when MapGuide is a WMS/WFS client?
 3. Does MapGuide support WFS-T as a server?
 4. Does MapGuide support WFS-T as a client?
 5. How are the OGC certifications for server/client WMS/WFS coming
 along?

 --
 Regards, Kenneth Skovhede, GEOGRAF A/S


 ___
 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/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20016664.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
>>>
>> 
>> 
>> 
>> -- 
>> 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/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20037000.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
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Supported-WMS-and-WFS-in-MapGuide-tp1331826p1346078.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] Supported WMS and WFS in MapGuide

2008-10-17 Thread gom

To go with my last message, I should have said that the data is in Southern
Alberta.  The wms was created to try using the data in Google Earth so I do
the wms in EPSG:4326 and the EPSG:26912 is the code for the original data
which is in UTM Zone 12N. 


gom wrote:
> 
> I can succesfully use wms in ArcMAP 9.3, from Mapguide 1.2.
> 
> These are my WMS layer seettings in Mapguide.
> 
> Bounds
> 
> Other SRS
> EPSG:26912
> 
> This is what I have as my wms string in ArcMAP
> http://myserver.com/mapguide/mapagent/mapagent.fcgi?
> 
> 
> 
> Alex Fordyce wrote:
>> 
>> 
>> Via WMS I've tried to serve the Sheboygan sample data to ArcGIS 9.2 and
>> haven't really been successful yet. I'm using mgos 2.0.2 and both mgos
>> and
>> arcgis are on the same internal domain. 
>> 
>> ArcGIS sees my mg WMS server and pulls the layers over. However, the
>> layers
>> do not display.
>> 
>> The documentation for both MG and ArcGIS claim to support OGC:WMS 1.1.1
>> 
>> Has anyone been successful using this configuration? Any ideas?
>> 
>> thanks,
>> alex
>> 
>> 
>> 
>> zspitzer wrote:
>>> 
>>> I think you can test the server side capabilities using the web tier
>>> tests
>>> which allows passing a version
>>> 
>>> http://locahost:8008/mapguide/mapagent/
>>> 
>>> there are a few quirks with WMS in there, GetMap returns only layers (
>>> and a list of them )
>>> rather than maps, there's no caching and or http cache semantics either
>>> 
>>> this document gives a nice nice overview of WMS support tho
>>> 
>>> http://feeds.autodesk.com/servlet/JiveServlet/download/233-594160-5688489-163673/ConfiguringAWMSFeatureSource.doc
>>> 
>>> 
>>> 
>>> On Fri, Oct 17, 2008 at 7:12 AM, BradM <[EMAIL PROTECTED]> wrote:
>>>>
>>>> WMS is critical to the success of my mapguide applications.   Can
>>>> anyone
>>>> answer Kenneth?
>>>>
>>>> Kenneth Skovhede, GEOGRAF A/S wrote:
>>>>>
>>>>> If found the following document describing the versions of WMS and WFS
>>>>> supported in MapGuide:
>>>>> http://mapguide.osgeo.org/faq_ogcserices.html
>>>>>
>>>>> The page appears quite outdated: "as soon as the FDO providers for WMS
>>>>> and WFS are available".
>>>>>
>>>>> The above mentioned page is not making a clear distinciton between
>>>>> being
>>>>> a client and being a server.
>>>>> There was no apparent mentioning of WMS/WFS versions on the FDO
>>>>> website
>>>>> either.
>>>>>
>>>>>
>>>>> My questions are:
>>>>> 1. What versions are supported when MapGuide is a WMS/WFS server?
>>>>> 2. What versions are supported when MapGuide is a WMS/WFS client?
>>>>> 3. Does MapGuide support WFS-T as a server?
>>>>> 4. Does MapGuide support WFS-T as a client?
>>>>> 5. How are the OGC certifications for server/client WMS/WFS coming
>>>>> along?
>>>>>
>>>>> --
>>>>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>>>>
>>>>>
>>>>> ___
>>>>> 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/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20016664.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
>>>>
>>> 
>>> 
>>> 
>>> -- 
>>> 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/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20037000.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
>> 
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Supported-WMS-and-WFS-in-MapGuide-tp1331826p1346103.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] Trouble making web layout work from session repository

2007-08-02 Thread gom

I am trying to load a modified map and web layout from the session
repository. I have had success up to the final step.

I get the mapdefintion from the repository
I modify the XML to change the extents and save it to the session repository
I get the weblayout from the repository
I modify the XML to change the mapdefinition and save it to the session
repository
When I try to use the modified layout I get the following error.

Argument is null.
Argument is null. Exception occurred in method MgWebLayout.ParsePrintCommand
at line 880 in file
c:\build_bond_area\mapguide_open_source\build_3.1\mgdev\web\src\webapp\WebLayout.cpp
 

If I just get the webLayout from the repositry and stuff it into the session
repository I can then make that my current layout and it works great.  I
call one function that changes the ResourceID under the Map node of the XML
and it generates the above error.  Comparing the weblayout XML before and
after I change the ResourceID seems to indicate that the files are identical
except for the changed mapdefintion.  Any ideas what I might be doing wrong?

Thanks

-- 
View this message in context: 
http://www.nabble.com/Trouble-making-web-layout-work-from-session-repository-tf4208650s16610.html#a11972354
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] Site Open Problem

2007-08-09 Thread gom

I have created a small app, in vb.net, that changes the default map and
weblayout to get cutom extents on startup.  Based on a url parameter I use
the default layout and map or I modify the resources and make session
versions of the layout and map.  I get all the desired results.

However, after it is used for awhile, sorry I don't have exact useage counts
or times, but several times a day the application will quit working with an
mgunclassified exception error.  In the debugger I can see that it fails on
the site.open call.  I believe I am disposing of objects as needed. 
Restarting the Mapguide Server and IIS does not immediatley resolve the
problem.  Neither does restarting the entire server.  However, if I log in
to Studio and open the weblayout, the site becomes available again
immediately.  I am suspecting maybe some sort of problem with sessionstate
or something but I would think a server reset would take care of that.

Any ideas that might help me figure out whats going on?

Mapguide 1.1.1
IIS 6
Windows 2003
vb.net

Thanks
-- 
View this message in context: 
http://www.nabble.com/Site-Open-Problem-tf4245318s16610.html#a12081076
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] Fill Patterns

2007-08-31 Thread gom

Is there a method for creating new and/or modifying existing fill patterns
for polygons?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Fill-Patterns-tf4361378s16610.html#a12430507
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] Is this a bug?

2007-10-10 Thread gom

I have added an invoke script to a Weblayout menu pick.  The script is a
digitizepoint command.  When the menu drops down, the command is displayed
over the top portion of the mapframe.  Clicking on the menu command causes
the script to execute using the point directly under the menu text.

I can, of course, make it work by placing it somewhere else on the interface
but wondered if this was a bug in the ajaxviewer or just unavoidable
behaviour?
-- 
View this message in context: 
http://www.nabble.com/Is-this-a-bug--tf4603241s16610.html#a13143649
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] Can anyone tell me why I can't do a refresh

2007-12-14 Thread gom

I have the following code in vb.net.  I get a javascript error when I try to
do the refresh.  If I place an html button in the page and execute
parent.parent.mapFrame.refresh();  It refreshes the map with my group turned
off.  For some reason, when I execute the sub as shown below,
parent.parent.mapFrame is not valid but parent.mapFrame is.  Same page as
the html button but obviously executed differently.  The debugger shows that
parent is viewFrame in this context and parent.mapFrame is valid.  However,
the refresh throws an error saying object or method does not exist.  I feel
like I'm missing something obvious but cannot discover what it is.  Anyone
have any help.

Thanks in advance.

Protected Sub RadioButton1_CheckedChanged(ByVal sender As Object, ByVal e As
System.EventArgs)
InitializeWebTier()
Dim mySiteConnection As New MgSiteConnection
Dim myUserInfo As New
MgUserInformation(Session.Item("sessionID").ToString)
mySiteConnection.Open(myUserInfo)
Dim myFeatureService As MgFeatureService =
mySiteConnection.CreateService(MgServiceType.FeatureService)
Dim myResourceService As MgResourceService =
mySiteConnection.CreateService(MgServiceType.ResourceService)
Dim myMap As New MgMap
myMap.Open(myResourceService, m_CurrentMap())
Dim myLayerGroup As MgLayerGroup = Nothing
Dim myLayerGroups As MgLayerGroupCollection = myMap.GetLayerGroups
Dim i As Integer = 0
For Each myLayerGroup In myLayerGroups
If myLayerGroup.Name = "Group1" Then
myLayerGroup.SetVisible(False)
End If
Next
myMap.Save()
Dim myKey As String = "mapRefresh"
If Not Page.ClientScript.IsStartupScriptRegistered(Me.GetType,
myKey) Then
Dim myScript As String = "parent.mapFrame.refresh();"
Page.ClientScript.RegisterStartupScript(Me.GetType, myKey,
myScript, True)
End If
End Sub

-- 
View this message in context: 
http://www.nabble.com/Can-anyone-tell-me-why-I-can%27t-do-a-refresh-tp14339775s16610p14339775.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] DWF and Scale Range

2008-01-18 Thread gom

I am having trouble figuring out how to set display scale ranges for DWF
files.  They appear to always be set to 0 to Inifinity and I can't override
infiinty.

I have tried creating the layers from Mapguide studio as well as from Map
2008.  No luck with either.  Any one have an idea of what it takes to set
these ranges?
-- 
View this message in context: 
http://www.nabble.com/DWF-and-Scale-Range-tp14955496s16610p14955496.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] DWF and Scale Range

2008-01-18 Thread gom

I have been able to get this to work in Studio although it doesn't seem to
save and display these scale ranges every time.  I may just be doing
something worng but sometimes I have to do it 2 or 3 times before it saves
the new scale range.



gom wrote:
> 
> I am having trouble figuring out how to set display scale ranges for DWF
> files.  They appear to always be set to 0 to Inifinity and I can't
> override infiinty.
> 
> I have tried creating the layers from Mapguide studio as well as from Map
> 2008.  No luck with either.  Any one have an idea of what it takes to set
> these ranges?
> 

-- 
View this message in context: 
http://www.nabble.com/DWF-and-Scale-Range-tp14955496s16610p14957809.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] Problem with LL83-WP!

2008-02-04 Thread gom

I have a dataset in access that uses west positive degrees.  My map is
UTM83-10.  When I draw the data the LL data set is North of the expected
location by 3 or 4 million meters and west by several hundred thousnd
meters.

If I use an update query to make the longitude negative and set my
coordinate system to LL83, everything draws perfectly.  Seems like a problem
with the LL83-WP definition but I have not looked deeply into it.

Am using the Mapstudio for authoring and the Open Source 1.2 server.  I know
Studio uses the same libraries as AutoCAD Map etc.  I don't think the open
source serfver does.  Is there any thing in the Proj files that I might be
missing?  Do I need to define the LL83-WP there?

Thanks 
-- 
View this message in context: 
http://www.nabble.com/Problem-with-LL83-WP%21-tp15273450s16610p15273450.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] Problem with zoom to selection

2008-04-29 Thread gom

I have been working on some code to search, select and zoom to features.  I
am able to select the features use SetSelectionXML, however I cannot zoom to
these selected features.

If I just set the selection it shows 1 feature selected and my feature is
highlighted.
When i add the line of code in my javascript to ExecuteMapAction(10), the
browser status line shows the blue bar that indicates loading and then
pauses.  After several minutes I get an error saying "The download of the
specified resource failed"

I tried butting the ExecuteMapAction(10) on a sperate button so I could wait
for the feature to be selected and all highlighting/refreshing to be
completed.  Even then, it causes the same pause/error.

Any ideas as to what I might be doing wrong or what steps I might be
missing?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Problem-with-zoom-to-selection-tp16964267p16964267.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] Problem with zoom to selection

2008-04-30 Thread gom

Jackie,

Thanks for the answer.  I just fixed my problem and as usual it was me
missing an obvious piece.  I was not getting an instance of my layer from
the map but rather defining the layer as new.  I was getting correct
SelectionXML but the selected object was not on a layer in the map so of
course it couldn't zoom there.

There should be an mgDummyException for people like me.:)


That error message seems to be specific to the XmlHttpRequest object.

You might want to check the following.

1 - If you are using Internet Explorer, check that you are running the
latest MSXML and make sure the browser security settings are not interfering
with the XmlHttpRequest.

2 - There may be some security settings on the actual machine that are
preventing the XmlHttpRequest object from sending requests.

- Jackie

-- 
View this message in context: 
http://www.nabble.com/Problem-with-zoom-to-selection-tp16964267p16984587.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] KML and extra commas

2008-08-12 Thread gom

Just wondering if anyone can tell me why coordinates returned from Mapguide,
in kml, have a comma after the z or elevation value for all but the last
listed coordinate?

I've looked at a few of the kml samples on Google's website but none seem to
follow this patterm.  The KML from Mapguide seems to works in Google Earth
but not in Google Maps.  I'm pretty sure that there is no offical support
for Google Maps but I was still curious why the KML ls being formatted this
way.
-- 
View this message in context: 
http://www.nabble.com/KML-and-extra-commas-tp18950938p18950938.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] Selecting features by window not working on one mapguide site.

2010-04-28 Thread gom

I have just installed Mapguide 2.1 on Windows Server 2003 with IIS 6.  I use
the ASP Ajax viewer.  I have moved three sites to the new server.

On one of the three sites I cannot select features by window.  I can select
single items with a mouse click and can see the appropriate properties in
the properties pane.  I can select multiple items by using the Shift-Click
combination.  Each selected item is highlighted as expected and the selected
object count does reflect the current number of selected items.  However no
matter how large or small the zoom and window I cannot select by dragging a
window.  Another somewhat odd thing is that when I select outside the
features or clear the selection with the toolbar tool, the blue highlight
does not go away until the map is redrawn.

The other two sites, on the same new server, work exactly as expected for
all selection and deselection functions.

Any suggestions or ideas would be greatly appreciated.
Thanks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Selecting-features-by-window-not-working-on-one-mapguide-site-tp4978101p4978101.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Selecting features by window not working on one mapguide site.

2010-05-04 Thread gom

I found that the problem was a bad polygon layer in my map.  It seems to work
OK in my 1.2 site but causes a selection error in my 2.1 site.  With about
60 layers in the map it took some time to find the culprit but it works now
that the offending layer is removed.
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Selecting-features-by-window-not-working-on-one-mapguide-site-tp4978101p5004066.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] 2.1 Image Format Quality Question

2010-06-18 Thread gom

I have tried PNG8 and JPG as possible substitutes for the default PNG.  In
each case it renders the images unacceptably.  Most notably smaller test
labels become unreadable and general linework resolution is not great.

Can I set the level of JPG compression to get a compromise between PNG24 and
JPG default quality.  I can't seem to find the setting for this?  I remember
reading before that this was set to 75 by default.  Is it adjustable?

I am using the AGG renderer and wonder if there are any other suggestions to
reduce image size and maintain better quality?

Thanks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/2-1-Image-Format-Quality-Question-tp5196687p5196687.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: 2.1 Image Format Quality Question

2010-06-19 Thread gom

As indicated in my original message I tried both PNG8 and JPG.  I was just
hoping that by adjusting the compression on JPG I could get a compromise
between Quality and Size that would be helpful to performance while still
retaining better quality.
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/2-1-Image-Format-Quality-Question-tp5196687p5199341.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: 2.1 Image Format Quality Question

2010-06-21 Thread gom

I have filed an enhancement request.  Hope I did it correctly.

I did re-style my layers and have acheived a better PNG8 result.  However it
is not perfect.  We will see what feedback comes from the users
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/2-1-Image-Format-Quality-Question-tp5196687p5204525.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Map fails to load

2011-06-21 Thread gom
What are the sizes and types of your datasets?  Do you use SDF, SHP, SQL etc. 
How big are they, what types of data are in the datasets and how many layers
are in your maps.

Can you simplify any of your initial map layers and loading code?

I have had some odd errors when there was a bad ploygon in a polygon sdf
file for example.  I also had an issue on a virtual server with inadequete
resources where starting Mapguide would take 45 minutes because SQL Server
was taking forever to start up and the mapguide process would time out.

I'm not suggesting these are your particular issues but there are a lot of
things that could interact to cause issues.  Strip things down to the bare
minimum and build up from there if possible to see if you can identify what
the aggravating factor is.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Map-fails-to-load-tp6427544p6500837.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Map Selection selects entire layer if more than 500 features are selected

2011-06-23 Thread gom
I had a very similar problem when I was running earlier versions. 1.2 and 2.0
I believe.  

This has gone away since I upgraded to 2.1.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Map-Selection-selects-entire-layer-if-more-than-500-features-are-selected-tp6507020p6508402.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Cannot Create Layers From Feature Sources

2012-09-24 Thread gom
Further to my question and continued problem with layers I can add the
following.

I uninstalled Mapguide 2.4 and deleted the repository etc.  I installed 2.2
and reloaded my package file from my 2.2 production server.  I could access
and use all my data sources and layers as expected.

I uninstalled and deleted the repositry etc. for 2.2 and re-installed 2.4
RC2.  I then imported the same package file.  Once again, the data sources
are fine.  I can view the schema, data and preview the objects graphically. 
However they still produce an error when I try to view layers, edit layers
or create new layers from the data source.

The errors are exactly as shown below in my previous message.

I am at a total loss as to the issue but for now I am unable to use 2.4 at
all with exisitng data, RC1 or RC2.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Cannot-Create-Layers-From-Feature-Sources-tp5003380p5004098.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Cannot Create Layers From Feature Sources

2012-09-27 Thread gom
Further to my difficultiess with unmanged data sources in 2.4, I wonder if
the following images help.  As you can see the schema name is different in
the two previews of the same data source.  If I do this comparison on the
same datasource under 2.2 the names match.  This suggests to me an issue or
possible answer as to why I cannot create layers from these datasources?  I
have no idea why the difference exists but it happens to anything I import
from a package or anything new I create.  


Schema Name of data source as shown in Maestro using the Preview function on
the Toolbar.  This is the correct or expected name.
<http://osgeo-org.1560.n6.nabble.com/file/n5004980/schema1.png> 

Schema Name of data source as shown in Maestro using the Local Preview
function
<http://osgeo-org.1560.n6.nabble.com/file/n5004980/schema2.png> 


Cannot Create Layers From Feature Sources
Sep 20, 2012; 3:43pm— by gom

I have a number of unmanaged SDF files in a folder. (2 point sdf files, 3
polyline (curve) sdf files) I have them authored/working nicely on an active
Mapguide 2.2 server 32 bit version on IIS.  I exported them as a package and
imported them to my development workstation.  Windows 7 Professional,
Mapguide 2.4 RC1.  I have another test server Windows 2008 IIS with 2.4 RC2
64 bit where I did the same.

The data files are available for authoring in the Mapguide Studio/Maestro
programs.  I can create data sources and use the preview functions on the
programs to view the schema, attributes etc with no trouble.  I see a valid
geometry property.  In addition I can preview the features and see the
objects drawn as expected.  Permissions seem to be consistent across the
three machines.

All the layers for 4 data sources are broken.  When I go to modify a layer,
and select one of the 4 data sources, I get an errors.  When I try to create
a new layer I get the same errors. Re-creating the data sources makes no
difference.  (One of the polyline data sources is still  working as
expected).  I edited and saved each file in AutoCAD map to ensure I could
read/write them successfully.

In Maestro 4.0.2 it says “Feature Source  (xxx) has no usable feature
classes.  Choose a different feature source.”, then it says “The Resource ID
could not be found.”

In Mapguide Studio 2010 and 2011 it says “Object reference not set to an
instance of an object.”  The layer dialog shows the selected FeatureSource
name and the expected schema in the dropdown list but Geometry drop down has
no options.

I have tried every variation of new feature sources and layers but no luck. 
Is there something I am missing?  Can anyone suggest some different tests or
approaches I can take to sorting this out?

I have a number of unmanaged SDF files in a folder. (2 point sdf files, 3
polyline (curve) sdf files) I have them authored/working nicely on an active
Mapguide 2.2 server 32 bit version on IIS.  I exported them as a package and
imported them to my development workstation.  Windows 7 Professional,
Mapguide 2.4 RC1.  I have another test server Windows 2008 IIS with 2.4 RC2
64 bit where I did the same.

The data files are available for authoring in the Mapguide Studio/Maestro
programs.  I can create data sources and use the preview functions on the
programs to view the schema, attributes etc with no trouble.  I see a valid
geometry property.  In addition I can preview the features and see the
objects drawn as expected.  Permissions seem to be consistent across the
three machines.

All the layers for 4 data sources are broken.  When I go to modify a layer,
and select one of the 4 data sources, I get an errors.  When I try to create
a new layer I get the same errors. Re-creating the data sources makes no
difference.  (One of the polyline data sources is still  working as
expected).  I edited and saved each file in AutoCAD map to ensure I could
read/write them successfully.

In Maestro 4.0.2 it says "Feature Source  (xxx) has no usable feature
classes.  Choose a different feature source.", then it says "The Resource ID
could not be found."

In Mapguide Studio 2010 and 2011 it says "Object reference not set to an
instance of an object."  The layer dialog shows the selected FeatureSource
name and the expected schema in the dropdown list but Geometry drop down has
no options.

I have tried every variation of new feature sources and layers but no luck.
Is there something I am missing?  Can anyone suggest some different tests or
approaches I can take to sorting this out?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Cannot-Create-Layers-From-Feature-Sources-tp5003380p5004980.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Cannot Create Layers From Feature Sources

2012-09-27 Thread gom
Further to my difficultiess with unmanged data sources in 2.4, I wonder if
the following images help.  As you can see the schema name is different in
the two previews of the same data source.  If I do this comparison on the
same datasource under 2.2 the names match.  This suggests to me an issue or
possible answer as to why I cannot create layers from these datasources?  I
have no idea why the difference exists but it happens to anything I import
from a package or anything new I create.  *Schema Name of data source as
shown in Maestro using the Preview function on the Toolbar.  This is the
correct or expected name.* schema1.png
<http://osgeo-org.1560.n6.nabble.com/file/n5004985/schema1.png>  *Schema
Name of data source as shown in Maestro using the Local Preview function*
schema2.png <http://osgeo-org.1560.n6.nabble.com/file/n5004985/schema2.png>  
gom wrote
> I have a number of unmanaged SDF files in a folder. (2 point sdf files,
> 3polyline (curve) sdf files) I have them authored/working nicely on an
> activeMapguide 2.2 server 32 bit version on IIS.  I exported them as a
> package andimported them to my development workstation.  Windows 7
> Professional,Mapguide 2.4 RC1.  I have another test server Windows 2008
> IIS with 2.4 RC264 bit where I did the same.The data files are available
> for authoring in the Mapguide Studio/Maestroprograms.  I can create data
> sources and use the preview functions on theprograms to view the schema,
> attributes etc with no trouble.  I see a validgeometry property.  In
> addition I can preview the features and see theobjects drawn as expected. 
> Permissions seem to be consistent across thethree machines.All the layers
> for 4 data sources are broken.  When I go to modify a layer,and select one
> of the 4 data sources, I get an errors.  When I try to createa new layer I
> get the same errors. Re-creating the data sources makes nodifference. 
> (One of the polyline data sources is still  working asexpected).  I edited
> and saved each file in AutoCAD map to ensure I couldread/write them
> successfully.In Maestro 4.0.2 it says "Feature Source  (xxx) has no usable
> featureclasses.  Choose a different feature source.", then it says "The
> Resource IDcould not be found."In Mapguide Studio 2010 and 2011 it says
> "Object reference not set to aninstance of an object."  The layer dialog
> shows the selected FeatureSourcename and the expected schema in the
> dropdown list but Geometry drop down hasno options.I have tried every
> variation of new feature sources and layers but no luck.Is there something
> I am missing?  Can anyone suggest some different tests orapproaches I can
> take to sorting this out?mapguide-users mailing list

> mapguide-users@.osgeo

> http://lists.osgeo.org/mailman/listinfo/mapguide-users





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Cannot-Create-Layers-From-Feature-Sources-tp5003380p5004985.html
Sent from the MapGuide Users mailing list archive at Nabble.com.___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Cannot Create Layers From Feature Sources

2012-10-02 Thread gom
Thanks for that info.

Is this related just to 2.4?  I can use Maestro as well as Mapguide Studio
to work with any of these feature sources on Mapguide 2.2. (32 Bit) but I
can use none of the authoring tools to create layers from unmanaged feature
sources on 2.4 rc1 or rc2.  I have tried using Maestro 4.0.3, 5.0b3,
Mapguide Studio 2010 and 2011.  All produce an error related to the
Schema/Geometry column when I try to create the layer.


Jackie Ng wrote
> It's a Maestro bug. It is not encoding/decoding FDO class names correctly.
> 
> http://trac.osgeo.org/mapguide/ticket/2136
> 
> - Jackie





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Cannot-Create-Layers-From-Feature-Sources-tp5003380p5005922.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Cannot Create Layers From Feature Sources

2012-10-14 Thread gom
After extensive trial and error I have discovered that schema names that
begin with a number, have spaces or dashes in their name will cause a
problem in Mapguide 2.4.  The datasource is no problem but when you create
the layer it will fail.  My schemas had all three things so I just didn't
get it figured out very easily.

I have not tried every combination of these things so I can't swear that all
of them are problems in schema names.  I can say for sure that some
combinations of these cause grief in Maestro and Mapguide Studio.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Cannot-Create-Layers-From-Feature-Sources-tp5003380p5008561.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Mapguide 64 bit and ODBC 64

2013-10-09 Thread gom
I have recently migrated a Mapguide site from 2.2 32 bit to 2,51 64 bit.  The
entire site runs but I have 3 sdf data sources that have Extended Feature
Classes linked to an Access database through an ODBC DSN/Data Connection.

Any queries, feature selections and reports that are based on these sdf
files take up to 5 times as long to run on 2.51 64 bit.  The data files
where packaged on the 2.2 32 bit and moved to the new 64 bit install.  They
all seem good and vaildate in Maestro etc.

I suspect a 64 bit ODBC performance issue with Access and the Extended
Feature Join.  Any thoughts or ideas how I can test this further?  Any one
else had similar issues with 64Bit and ODBC?

Thanks.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-64-bit-and-ODBC-64-tp5082718.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Mapguide 64 bit and ODBC 64

2013-10-21 Thread gom
It has taken some time to get here but I can say that I was able to install
and configure a 32 bit version of Mapguide 2.51 and the performance of the 3
affected data sources is double or better.  That is to say, using 32 bit
Mapguide and 32 bit Access ODBC driver works more than twice as fast as 64
bit.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-64-bit-and-ODBC-64-tp5082718p5084884.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Mapguide and ODBC

2015-04-21 Thread gom
I have migrated and Access database to SQL Server.  I am trying to create a
feature join from an sdf file to a sql server table using a string column. 
I can create the datasources and the join without too much difficulty.  If I
use the preview function on the datasource I can see the record count on the
sdf side of the join and I can preview thae data.  I can do likewise on the
extended class and the record count matches.  However, when I view the data
only about 15 percent of the records join properly.  The rest show blank or
null values from the SQL Server table side of the join.

It is a single table, single column join.  No leading or trailing spaces are
obvious in the sdf or the table as far as I can see.  Hard to identify the
cause.  I read in the archives that text doesn't work well for joins but
that message was years old.

Is ODBC joining still a problematic approach to managing data in Mapguide or
am I missing something.

Mapguide is 2.5.1 but this problem shows up in Maestro 5 and 6 and in
Mapguide Studio.

Thanks



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-and-ODBC-tp5202365.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] Instantsetup

2016-06-13 Thread gom
I have downloaded a few versions of the instantsetup installer and all seem
to be missing the contents of the setup folder.  I have the files in an
older download but I'm not sure if they can be used with the 2.6.1 install.

Am I missing something?  I tried to check the mailing list and I searched
the site but I didn't find anything to say the files are missing or removed.

Thanks



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Instantsetup-tp5271443.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] Ajax viewer, URL in Properties Pane

2017-02-03 Thread gom
Following advice in the newsgroup I have created a column in my SQL Server
Spatial table that has a url in the form shown below.  In the Ajax
Properties Pane this is always rendered as null.  I can label the feature
with this column value and it looks exactly as shown below.  Is this
behavior broken in the Ajax viewer or do I need to alter the string stored
in the table to get it to work as a link in the Properties Pane?
*
*

Thanks



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-06 Thread gom
Thanks for those links.  I have read them.  As you can see from my post, my
problem is with the Ajax viewer, not the Fusion viewer.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306516.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-06 Thread gom
This is the correct viewer for my situation.  

When I replace the two functions in propertyctrl.templ, my webpage doesn't
load.  The map window freezes. I assume it is failing when it tries to load
the propertyctrl.templ file.  Any idea why this might happen?

Thanks



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306577.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-06 Thread gom
No errors in the console window



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306617.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-06 Thread gom
I'm using Mapguide 3.1 if that matters at all.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306619.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-06 Thread gom
Copying and pasting your complete page also causes my map window to hang up.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306623.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-06 Thread gom















--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306638.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-06 Thread gom
The XML looks as expected in Maestro.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306639.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread gom
Reno,

Would it be possible to see the exact format of the url string from the
database, for the sample record you showed me?  I have copied and pasted the
string from my database table below.  That string always shows up as null in
my properties window.  I have tried this in SQLite and SQL Server 2008 R2.

All else being equal, I would expect that the problem must be how my string
is stored in SQL Server.

Thanks for all the great support.

Plan PDF   



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306745.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread gom
Not a question really but a comment.

When I preview the data source, using "View Data" both in Maestro and
Infrastructure Studio, I see the link exactly as expected in those data
tables. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306778.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread gom
When I use the code from the propertyctrl.txt file that is attached, I get no
properties at all.  The console shows no errors.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306782.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread gom
I added some alert statements to the HtmlDecode function, just before the
return statements, in the hopes of gaining some feedback.  Oddly enough, the
function, as shown below, now correctly shows the links in the properties
pane.

Any thoughts?

Thanks again.






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306804.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-08 Thread gom
Using the debugger on the browser here is what I am seeing.

When the line /*console.log(input);*/ is included in the HtmlDecode
function, the code path followed is through that first if statement and
return input gives the expected result.

When that same line of code is left out of the function, the code path
followed is the second if statement and /*_el.childNodes[0].nodeValue;*/ is
null for the url field.  _el.innerHTML does hold the correct string.

Does this provide any meaningful information towards what might be
happening?

Thanks






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306980.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-08 Thread gom
OK. I did that and the console shows 4 property values.  The url property
value shows as null, all the other 3 show as they exist in the database.

G20070192
1
null
ADV01




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5307046.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-09 Thread gom
That function does the trick.  Thanks for all the support!



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5307188.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] POSTGis spatial context problem

2017-03-03 Thread gom
I have a PostGIS database that has a good number of tables in it.  The
Spatial Contexts, in my feature source, have always showed the coordinate
systems for all the tables.  

I added a new table using a 10TM coordinate system, EPSG3400.  The feature
source does not seem to want to list this coordinate system.  I have edited
the XML and added any entry manually and it shows up in the Contexts list. 
When I preview the feature source and look at its geometry properties it has
chosen the Context named sc_3, which is not the correct context.

Any ideas as to why it doesn’t detect or choose the correct coordinate
system or how I can force it to use my manually added context?

(The data source in PostGIS is definitely the right Coordinate System and I
can use AutoCAD Map or Global Mapper and query data correctly from this
table.)

Thanks.




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

[mapguide-users] Help with Spatial Contexts

2017-03-06 Thread gom
I asked an earlier question about PostGis and spatial context issues.  I'm
not sure it was a very clear question so I decided it might be better to try
and ask a more general question to see if I am making a more fundamental
mistake in my approach to authoring resources.

I need some help understanding Data Sources, Layers and Spatial Contexts. 
Specifically how they are detected, defined in data sources and then
assigned to layers.

Should I always have a separate data source for every layer?
Should I have a separate data source for every Spatial Context in a
database?
How does a layer get assigned a Spatial Context?
Can I specify what Spatial Context a layer should use?

Thanks



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Help-with-Spatial-Contexts-tp5310988.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Help with Spatial Contexts

2017-03-09 Thread gom
Thanks for the thorough answer.  That does match what my understanding has
been.  My question arose because I added a data table to PostGIS recently. 
In the Maestro Preview of that data source, the table showed sc_3 as the
spatial context of the table.  The layer showed sc_2 as its selected spatial
context.  SC_3 was a 10TM zone and sc_2 was a UTM11 zone.  The data shift,
when adding the layer to the map, was equal to the difference in the two UTM
zone definitions.

I tried to refresh the spatial contexts list.
I dropped and recreated the layer.
The problem never went away.  

I have not tried to re-create the data source as I have an application with
quite a few layers using this data source.  I have quite a lot of tables in
the database as well as about 9 -10 different spatial contexts.  Tables have
been added and dropped over time.  Maybe I need to vacuum the database or do
some other maintenance to clean it up.

I will try to recreate the data source to see if there is anything related
to that.

Thanks again.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Help-with-Spatial-Contexts-tp5310988p5311605.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Help with Spatial Contexts

2017-03-10 Thread gom
I'll try this.

Thanks



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Help-with-Spatial-Contexts-tp5310988p5311753.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Help with Spatial Contexts

2017-03-13 Thread gom
Thanks for all the answers.  I have a much clearer picture of what I should
be doing.  I see my database has no f_scinfo table but I do understand that
this is optional.  Needed only if I want a more clearly named spatial
context as opposed to sc_1, sc_2 etc.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Help-with-Spatial-Contexts-tp5310988p5312077.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Help with Spatial Contexts

2017-04-17 Thread gom
I know this is a few weeks old but as I tried to add two new layers to a map
I have struggled with Spatial Contexts again.

I have captured some images from my data source and layer definition in
order to show that the layer seems to choose the wrong Spatial Context.  I
have created and recreated the data source and layer, reloaded the spatial
contexts and tried to redefine everything but to no avail.  UTM 10 is my
data Spatial Context and it is shown correctly in the data source definition
and preview.  However the layer always shows as being WGS84.  This is a
valid context in my data source definition but it does not apply to this
table.  The layer will not draw in the map. (The map is a 10TM projection). 
Other layers that are UTM13, LL83 and WGS84.

I just can't figure out why the layer uses WGS84 instead of UTM10.  Any
ideas?  Can I provide any other information to help sort this out?

Thanks

*Datasource Preview shows sc_7 for this table:*
 

*sc_7 as defined in datasource:*
 

*layer datasource:*
 

*layer preview:*
 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Help-with-Spatial-Contexts-tp5310988p5317502.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] How to connect oracle by using Mapguide Maestro

2017-05-03 Thread gom
You should download and install the Oracle Instant client from Oracle's
website.  You will need to create a user account with Oracle.  There are 32
and 64 bit versions of the client as well as for different versions of
Oracle.  If the oci.dll folder is on your path it should work but you may
wish to copy the supporting Oracle dlls to your fdo folder.

Hope that points you in the right direction. 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-connect-oracle-by-using-Mapguide-Maestro-tp4195265p5319320.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Fusion Redline Widget and SHP Upload

2018-03-01 Thread gom
I have created a simple set of redline polygons with the Fusion Redline
widget.  I can download and view the shp file just fine.  

When I use the upload function, on the redline widget, I can read the shp
file back into Mapguide and it is displayed correctly.  However no layer is
created in the legend and when I try to select the polygon with any of the
select tools I get a fusion error that says "Cannot read property of
'layername' null".  My cursor turns into the hourglass and the little map
refreshing bar on the zoom/pan control becomes animated.  The session stays
that way until I refresh the page on the browser causing a complete reload
of the website.

Any ideas as to what I might be doing wrong or what might be happening with
this?

Thanks



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users