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
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
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.
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
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
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
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
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
I can succesfully use wms in ArcMAP 9.3, from Mapguide 1.2.
These are my WMS layer seettings in Mapguide.
Bounds
BOUNDS SRS=EPSG:4326 west=-114 south=49 east=-110 north=50 /
Other SRS
EPSG:26912
This is what I have as my wms string in ArcMAP
http://myserver.com/mapguide/mapagent/mapagent.fcgi?
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
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:
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:
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
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
— 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
. 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
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
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
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
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
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
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
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
--
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
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
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
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:
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,
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:
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
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
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
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.
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
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
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
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:
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
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
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
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
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
42 matches
Mail list logo