Re: [mapguide-users] Problem in the GenerateFilter() method of the MgSelection class

2008-11-24 Thread Bruno Scott

I found the problem.
There is no error in the GenerateFilter command.
The error come while posting xml data from the client js to the server aspx
command.

Here and example of what's going on with FeatID = 250.

1) we get the XmlSelection from the Client API

  

  +g==

  


2) we post this xml string to the server aspx, on the server we now have
this string

  

   g==

  


3) as we are creating a new MgSelection with this wrong value, the
GenerateFilter command can't process it properly.

Here is base64 representation of some FeatId
247 : 9w==
248 : +A==
249 : +Q==
250 : +g==
251 : +w==
252 : /A==

The little program failed with featIds 248,249,250,251, they all starts with
+

I'm pretty sure many of you who has experiences Selection/generateFilter
problem have this same behavior.

Bruno Scott


-- 
View this message in context: 
http://www.nabble.com/Problem-in-the-GenerateFilter%28%29-method-of-the-MgSelection-class-tp14132755p20676525.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] Creating Streets and info

2008-11-24 Thread Carmelo Saffioti
My local reference system is metric, and its origin is a (0,0) point on the 
planimetry.
Then, do you mean to set a metric system for both data sources and the map?

The question is this:
Data sources have metric data on a local reference system. Then the map is 
generated by this system. I have a sequence of GPS vehicles positions too, 
which must be displayed on the map. Have I transform GPS positions to local 
system coordinates (or the map coordinates to GPS)?? Or is there any other way?


Thank you again
Cheers
Carmelo
 
  - Original Message - 
  From: Kenneth Skovhede, GEOGRAF A/S 
  To: MapGuide Users Mail List 
  Sent: Monday, November 24, 2008 9:47 PM
  Subject: Re: [mapguide-users] Creating Streets and info


  If you select the correct projection for both the data sources, and the map,
  MapGuide should fix it correctly for you.

  If you have X/Y data (lat/lon) in MySql, you can use the ODBC provider to map 
the data into points.

Regards, Kenneth Skovhede, GEOGRAF A/S


  Carmelo Saffioti skrev: 
Thank you Kenneth, now it works :-)

Another question:
I've got objects coordinates and data on a MySql DB. Is it possible to use 
it to draw a layer with these objects?

Object coordinates are local relative coordinates. Vehicles positions on my 
DB are lat/lon GPS coordinates. Have you got any suggestions about dealing with 
these different coordinates?


Thank you very much again
Cheers
Carmelo
  - Original Message - 
  From: Kenneth Skovhede, GEOGRAF A/S 
  To: MapGuide Users Mail List 
  Sent: Monday, November 24, 2008 3:29 PM
  Subject: Re: [mapguide-users] Creating Streets and info


  I see the problem now.
  You must include ALL the files, not just the SHP file.
  After that you must select the shp file to be the "main" item (the star 
button in Maestro).

  I can send you a package where I have done this if you like.

  The problem is that Maestro only displays "*.shp" in the file type, and 
you must select "All files" before you can add those other files.
  Feel free to add a feature request for the problem:
  http://trac.osgeo.org/mapguide/newticket


Regards, Kenneth Skovhede, GEOGRAF A/S


  Carmelo Saffioti skrev: 
I tried using the exported SHP file with MapGuide Maestro. Using the 
ajaxviewer example SDF files I see many attributes, but using my exported SHP 
files I see only the FeatId field. If from Autocad Map I export data to SDF 
format I've got the same problem...

If from Autocad Map I connect to the SHP data file I can see its 
attributes values on the data table. How come MapGuide Maestro doesn't display 
them?

The SHP file is attached with this message,
please help me

  - Original Message - 
  From: Kenneth Skovhede, GEOGRAF A/S 
  To: MapGuide Users Mail List 
  Sent: Monday, November 24, 2008 1:56 PM
  Subject: Re: [mapguide-users] Creating Streets and info


  I am no expert on SHP data, but with most data, the attributes are 
included.
  If you use SHP data in MapGuide the attributes should be IN the SHP 
(or is it dbx, etc) file.
  >From then on you can see the columns everywhere, and use the 
attributes as label or other stuff.
  If you select the columns to view on the layer, they will show up, 
just like the parcel data.

  If you use Arc, the attributes are also attached to the topology, so 
the export should be able to extract that as well.

Regards, Kenneth Skovhede, GEOGRAF A/S


  Carmelo Saffioti skrev: 
Thank you for your help.
I've found how to create object data. The problem is that I've got many
objects (about 10.000), then I need an automatic method to attach data to
objects. Some people told me to follow these steps:
1) create a topology
2) export a SHP file with topology data
3) use topology ID to make a JOIN between topology data and data I need to
attach
4) import in Autocad Map the SHP file
5) label objects, using the Style tool
6) create a link template
7) generate links to "Enclosed Text"

On Autocad Map guide I saw that it is possible to automatically link objects
to data on a DB table. But it requires labels. Using labels created as I
said here doesn't work...

Other people told me to attach objects data using a GIS software, but did
not say which software and how :-(

I hope anybody here can help me, because it's taking a really long time for
this purpose...

I need to develop something similar to the ajaxviewer example, on which you
can view info about Parcels.


Hoping in your help
Cheers
Carmelo

- Original Message - 
From: "Berdel, Brian" <[EMAIL PROTECTED]>
To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 2:45 PM
Subject: RE: [mapguide-users] Creating Streets and info


In autocad map you have to create the object data and attach it to the
features.  Check the help for creating object dat

Re: [mapguide-users] Fusion Error When Selecting From Search Results

2008-11-24 Thread Eric123

Hi Rodolfo M.,

Which file need to be changed "parent.parent.refresh()" by "Refresh()"?
:confused:

Cheers,
Eric


ralph2008 wrote:
> 
> Hi Shamrock,
> 
> I think that you are using the Ajax API viewer instead of using theFusion
> Viewer API.
> The fusion viewer API is the "MapGuideViewerApi.js" and is located in:
> "C:\Program
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\MapGuide"
> 
> You must referencingt this file in your script and change the some lines
> in your scripts:
> for instances: change "parent.parent.refresh()" by "Refresh()"
> 
> I hope it help you
> 
> Regards,
> 
> Rodolfo M.
> GIS Developer
> Research & Development
> Voxiva, Inc.
> 
> 
> 
> Shamrock Shooter wrote:
>> 
>> I am running MOS 2.0.1 with AutoDesk Studio 2009.  I created a search
>> button to lookup address from my tax parcels shapefile attribute data. 
>> If i run it in the basic layout it works fine.  If I run it in the fusion
>> layout, it will populate a list of values in the task pane, but when I
>> select one of the search results, it does not zoom to it in the map and
>> throws me this error:
>> 
>> Fusion Error:
>> WARNING: Exception occurred in AJAX callback.
>> SyntaxError: syntax error
>> Location: undefined (737)
>> xx)
>> 
>> Can anyone help me out?  I tried some searching but didn't find any
>> similar posts.
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Fusion-Error-When-Selecting-From-Search-Results-tp18161869p20675295.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] Nasa World Wind + MapGuide OS

2008-11-24 Thread ajid1980

any one did this project?? Tell me how and ur experience ya... thanx 
-- 
View this message in context: 
http://www.nabble.com/Nasa-World-Wind-%2B-MapGuide-OS-tp20673487p20673487.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] ScribbleR2 with different PDF output

2008-11-24 Thread Andy Morsell
I think it was Jason who posted it the first time.. Regardless, I just
added the new information to the page including the file with the new code
as an attachment.

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

Andy 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of djonio
Sent: Monday, November 24, 2008 1:02 PM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] ScribbleR2 with different PDF output


Andy,

How quickly you forget! I have absolutly no talent in this regard. Feel
free! Your services would once again be appeciated.

r,
dennis 
-- 
View this message in context:
http://www.nabble.com/ScribbleR2-with-different-PDF-output-tp20660169p206697
88.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] Creating Streets and info

2008-11-24 Thread Dave Wilson
You can use X/Y data in any coordinate system, not just Lon/Lat in an ODBC 
Connection.

Dave

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth 
Skovhede, GEOGRAF A/S
Sent: Monday, November 24, 2008 1:48 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Creating Streets and info

If you select the correct projection for both the data sources, and the map,
MapGuide should fix it correctly for you.

If you have X/Y data (lat/lon) in MySql, you can use the ODBC provider to map 
the data into points.


Regards, Kenneth Skovhede, GEOGRAF A/S


Carmelo Saffioti skrev:
Thank you Kenneth, now it works :-)

Another question:
I've got objects coordinates and data on a MySql DB. Is it possible to use it 
to draw a layer with these objects?

Object coordinates are local relative coordinates. Vehicles positions on my DB 
are lat/lon GPS coordinates. Have you got any suggestions about dealing with 
these different coordinates?


Thank you very much again
Cheers
Carmelo
- Original Message -
From: Kenneth Skovhede, GEOGRAF A/S
To: MapGuide Users Mail List
Sent: Monday, November 24, 2008 3:29 PM
Subject: Re: [mapguide-users] Creating Streets and info

I see the problem now.
You must include ALL the files, not just the SHP file.
After that you must select the shp file to be the "main" item (the star button 
in Maestro).

I can send you a package where I have done this if you like.

The problem is that Maestro only displays "*.shp" in the file type, and you 
must select "All files" before you can add those other files.
Feel free to add a feature request for the problem:
http://trac.osgeo.org/mapguide/newticket



Regards, Kenneth Skovhede, GEOGRAF A/S




Carmelo Saffioti skrev:
I tried using the exported SHP file with MapGuide Maestro. Using the ajaxviewer 
example SDF files I see many attributes, but using my exported SHP files I see 
only the FeatId field. If from Autocad Map I export data to SDF format I've got 
the same problem...

If from Autocad Map I connect to the SHP data file I can see its attributes 
values on the data table. How come MapGuide Maestro doesn't display them?

The SHP file is attached with this message,
please help me

- Original Message -
From: Kenneth Skovhede, GEOGRAF A/S
To: MapGuide Users Mail List
Sent: Monday, November 24, 2008 1:56 PM
Subject: Re: [mapguide-users] Creating Streets and info

I am no expert on SHP data, but with most data, the attributes are included.
If you use SHP data in MapGuide the attributes should be IN the SHP (or is it 
dbx, etc) file.
>From then on you can see the columns everywhere, and use the attributes as 
>label or other stuff.
If you select the columns to view on the layer, they will show up, just like 
the parcel data.

If you use Arc, the attributes are also attached to the topology, so the export 
should be able to extract that as well.


Regards, Kenneth Skovhede, GEOGRAF A/S




Carmelo Saffioti skrev:

Thank you for your help.

I've found how to create object data. The problem is that I've got many

objects (about 10.000), then I need an automatic method to attach data to

objects. Some people told me to follow these steps:

1) create a topology

2) export a SHP file with topology data

3) use topology ID to make a JOIN between topology data and data I need to

attach

4) import in Autocad Map the SHP file

5) label objects, using the Style tool

6) create a link template

7) generate links to "Enclosed Text"



On Autocad Map guide I saw that it is possible to automatically link objects

to data on a DB table. But it requires labels. Using labels created as I

said here doesn't work...



Other people told me to attach objects data using a GIS software, but did

not say which software and how :-(



I hope anybody here can help me, because it's taking a really long time for

this purpose...



I need to develop something similar to the ajaxviewer example, on which you

can view info about Parcels.





Hoping in your help

Cheers

Carmelo



- Original Message -

From: "Berdel, Brian" <[EMAIL PROTECTED]>

To: "MapGuide Users Mail List" 


Sent: Tuesday, November 18, 2008 2:45 PM

Subject: RE: [mapguide-users] Creating Streets and info





In autocad map you have to create the object data and attach it to the

features.  Check the help for creating object data.  It is pretty

straight forward once you know what you are doing.



-Original Message-

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED] On Behalf Of Carmelo

Saffioti

Sent: Tuesday, November 18, 2008 8:49 AM

To: MapGuide Users Mail List

Subject: Re: [mapguide-users] Creating Streets and info



Thanks Zac.

You said that the street layer tooltip is based on attributes chosen

from

the feature source. Looking

RE: [mapguide-users] ScribbleR2 with different PDF output

2008-11-24 Thread djonio

Andy,

How quickly you forget! I have absolutly no talent in this regard. Feel
free! Your services would once again be appeciated.

r,
dennis 
-- 
View this message in context: 
http://www.nabble.com/ScribbleR2-with-different-PDF-output-tp20660169p20669788.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] Doubts/Problems with find address and plot DWF

2008-11-24 Thread Kenneth Skovhede, GEOGRAF A/S

I have no tips for those two problems.

Regards, Kenneth Skovhede, GEOGRAF A/S



Sergio Nistal Calvo skrev:

Hi,
 
Thanks Kenneth, with your help I have solved the point 1 and 4 (it was 
the same). Now I have the problem 2 and 3, for problem 3 I have seen 
this post 
http://lists.osgeo.org/pipermail/mapguide-users/2008-January/010926.html but 
I don´t undestand it, what is the .dll file that it must be overwrite?
 
Thanks again.





Date: Mon, 24 Nov 2008 09:22:27 +0100
From: [EMAIL PROTECTED]
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Doubts/Problems with query, find 
address, plot DWF and markup


Regarding your point 4:
http://lists.osgeo.org/pipermail/mapguide-users/2008-January/010900.html

Regards, Kenneth Skovhede, GEOGRAF A/S
  



Sergio Nistal Calvo skrev:

Hi, I have some doubts/problems:
 
1- How it is used "query"? I never get any results, I have some

data in shp (shp, shx, sbn, sbx, dbf and idx) format and I
transformed it to sdf with fdo2fdo but "query" doesn´t work in any
format. Why?.

2- How do I edit the php script "find address" so that the city
and the state are not as they are hardcoded in the Sheboygan
sample, because my question is "Find Address" uses
"rpc.geocoder.us" in Sheboygan. Does it exist a general web
address to find any data? this is, can I use the function "find
address" to find a name (not a number and a name as is done in
Sheboygan to find a address), but only a name that represents a
natural space in Castilla y León (a Spain´s region)?

3- I have installed the program Autodesk design review, version
9.0.0.96. With this program works for me the plot of DWF
Sheboygan, but not with my data type shp, sbx, sbn, dbf, idx and
shx (or with the transformation to sdf). (The message is: "Your
current version of Design Review does not support files of this
type") Do I need to install another program? What is the problem? 


4- When I edit a markup I get the following error: "Fatal error:
Can not create SWIG object type: MgCoordinateSystemTransform as
the underlying object is abstract in C: \ MAPGUIDE2 \
MapGuide-2.0.1 \ Web \ src \ phpgenerictasks \ markup \ classes \
markupeditor.php on line 57 ", What is the problem?
 
Please, I stopped, could anyone help me?
 
Thanks and a greeting.



Descubre durante 3 meses gratis la protección total de One Care




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




¡Pasa del Pendrive! Skydrive almacena hasta 5 GB online gratis 




___
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] Creating Streets and info

2008-11-24 Thread Kenneth Skovhede, GEOGRAF A/S

If you select the correct projection for both the data sources, and the map,
MapGuide should fix it correctly for you.

If you have X/Y data (lat/lon) in MySql, you can use the ODBC provider 
to map the data into points.


Regards, Kenneth Skovhede, GEOGRAF A/S



Carmelo Saffioti skrev:

Thank you Kenneth, now it works :-)
 
Another question:
I've got objects coordinates and data on a MySql DB. Is it possible to 
use it to draw a layer with these objects?
 
Object coordinates are local relative coordinates. Vehicles positions 
on my DB are lat/lon GPS coordinates. Have you got any suggestions 
about dealing with these different coordinates?
 
 
Thank you very much again

Cheers
Carmelo

- Original Message -
*From:* Kenneth Skovhede, GEOGRAF A/S 
*To:* MapGuide Users Mail List

*Sent:* Monday, November 24, 2008 3:29 PM
*Subject:* Re: [mapguide-users] Creating Streets and info

I see the problem now.
You must include ALL the files, not just the SHP file.
After that you must select the shp file to be the "main" item (the
star button in Maestro).

I can send you a package where I have done this if you like.

The problem is that Maestro only displays "*.shp" in the file
type, and you must select "All files" before you can add those
other files.
Feel free to add a feature request for the problem:
http://trac.osgeo.org/mapguide/newticket

Regards, Kenneth Skovhede, GEOGRAF A/S





Carmelo Saffioti skrev:

I tried using the exported SHP file with MapGuide Maestro. Using
the ajaxviewer example SDF files I see many attributes, but using
my exported SHP files I see only the FeatId field. If from
Autocad Map I export data to SDF format I've got the same problem...
 
If from Autocad Map I connect to the SHP data file I can see its

attributes values on the data table. How come MapGuide Maestro
doesn't display them?
 
The SHP file is attached with this message,

please help me
 


- Original Message -
*From:* Kenneth Skovhede, GEOGRAF A/S 
*To:* MapGuide Users Mail List

*Sent:* Monday, November 24, 2008 1:56 PM
*Subject:* Re: [mapguide-users] Creating Streets and info

I am no expert on SHP data, but with most data, the
attributes are included.
If you use SHP data in MapGuide the attributes should be IN
the SHP (or is it dbx, etc) file.
>From then on you can see the columns everywhere, and use the
attributes as label or other stuff.
If you select the columns to view on the layer, they will
show up, just like the parcel data.

If you use Arc, the attributes are also attached to the
topology, so the export should be able to extract that as well.

Regards, Kenneth Skovhede, GEOGRAF A/S





Carmelo Saffioti skrev:

Thank you for your help.
I've found how to create object data. The problem is that I've got many
objects (about 10.000), then I need an automatic method to attach data 
to
objects. Some people told me to follow these steps:
1) create a topology
2) export a SHP file with topology data
3) use topology ID to make a JOIN between topology data and data I need 
to
attach
4) import in Autocad Map the SHP file
5) label objects, using the Style tool
6) create a link template
7) generate links to "Enclosed Text"

On Autocad Map guide I saw that it is possible to automatically link 
objects
to data on a DB table. But it requires labels. Using labels created as I
said here doesn't work...

Other people told me to attach objects data using a GIS software, but 
did
not say which software and how :-(

I hope anybody here can help me, because it's taking a really long time 
for
this purpose...

I need to develop something similar to the ajaxviewer example, on which 
you
can view info about Parcels.


Hoping in your help
Cheers
Carmelo

- Original Message - 
From: "Berdel, Brian" <[EMAIL PROTECTED]>

To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 2:45 PM
Subject: RE: [mapguide-users] Creating Streets and info


In autocad map you have to create the object data and attach it to the
features.  Check the help for creating object data.  It is pretty
straight forward once you know what you are doing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carmelo
Saffioti
Sent: Tuesday, November 18, 2008 8:49 AM
To: MapGuide Users Mail List
S

RE: [mapguide-users] Doubts/Problems with find address and plot DWF

2008-11-24 Thread Andy Morsell
Regarding item 2: the sample application uses the geocoder.us web service to
find the latitude and longitude of a street address.  This is only for the
United States.   See http://geocoder.us/ for more information.   In order to
do the same for data in Spain like you desire, you would have to find a
similar service with Spanish data or build your own.

Something like this might be interesting to you:
http://www.nacgeo.com/geocode.asp.  Or, look into using the Google or Yahoo
geocoders.  http://www.developer.com/lang/jscript/article.php/3615681

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

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sergio Nistal
Calvo
Sent: Monday, November 24, 2008 10:32 AM
To: MapGuide User List
Subject: SPAM-LOW: RE: [mapguide-users] Doubts/Problems with find address
and plot DWF

Hi,

Thanks Kenneth, with your help I have solved the point 1 and 4 (it was the
same). Now I have the problem 2 and 3, for problem 3 I have seen this post
http://lists.osgeo.org/pipermail/mapguide-users/2008-January/010926.html but
I don´t undestand it, what is the .dll file that it must be overwrite?

Thanks again.


  _


Date: Mon, 24 Nov 2008 09:22:27 +0100
From: [EMAIL PROTECTED]
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Doubts/Problems with query, find address, plot
DWF and markup

Regarding your point 4:
http://lists.osgeo.org/pipermail/mapguide-users/2008-January/010900.html
Regards, Kenneth Skovhede, GEOGRAF A/S


Sergio Nistal Calvo skrev:
Hi, I have some doubts/problems:

1- How it is used "query"? I never get any results, I have some data in shp
(shp, shx, sbn, sbx, dbf and idx) format and I transformed it to sdf with
fdo2fdo but "query" doesn´t work in any format. Why?.

2- How do I edit the php script "find address" so that the city and the
state are not as they are hardcoded in the Sheboygan sample, because my
question is "Find Address" uses "rpc.geocoder.us" in Sheboygan. Does it
exist a general web address to find any data? this is, can I use the
function "find address" to find a name (not a number and a name as is done
in Sheboygan to find a address), but only a name that represents a natural
space in Castilla y León (a Spain´s region)?

3- I have installed the program Autodesk design review, version 9.0.0.96.
With this program works for me the plot of DWF Sheboygan, but not with my
data type shp, sbx, sbn, dbf, idx and shx (or with the transformation to
sdf). (The message is: "Your current version of Design Review does not
support files of this type") Do I need to install another program? What is
the problem?

4- When I edit a markup I get the following error: "Fatal error: Can not
create SWIG object type: MgCoordinateSystemTransform as the underlying
object is abstract in C: \ MAPGUIDE2 \ MapGuide-2.0.1 \ Web \ src \
phpgenerictasks \ markup \ classes \ markupeditor.php on line 57 ", What is
the problem?

Please, I stopped, could anyone help me?

Thanks and a greeting.
  _

Descubre durante 3 meses gratis la protección total de One Care






  _




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


  _

¡Pasa del Pendrive! Skydrive almacena hasta 5 GB online gratis

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


Re: [mapguide-users] wms problem

2008-11-24 Thread Kenneth Skovhede, GEOGRAF A/S

There is a guide for consuming WMS here:
http://trac.osgeo.org/fdo/wiki/FdoWmsNotes

That is all I know about it :)

Regards, Kenneth Skovhede, GEOGRAF A/S



alucas skrev:

Hello Kenneth,

The connection works fine for me. I also see the layers, but when I add the
layer to the map, I can't see this layer. The same issue with:
http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx

In both cases, my map is in UTM and the WMS servers have their default
Coordinate Systems in Lat/Lon. So, I suspect that the problem could be with
reprojection.

Do you know any bug related with this?

Thanks.


Kenneth Skovhede, GEOGRAF A/S wrote:
  

I can connect to it, and list the layers.
But it returns no spatial context, eg, no coordinate system.
I don't know why because the returned xml has a few coordinate systems 
listed.


I suspect it won't work without a coordinate system.

You can create a bug report here:
http://trac.osgeo.org/mapguide/

Regards, Kenneth Skovhede, GEOGRAF A/S



alucas skrev:


Can anybody connect to this WMS server?
http://icvmapas.icv.gva.es/wms

I need to connect the schema prueba_wms. I can connect vía AutoCAD Map 3D
2009 and others clients but not with mapguide 2.02.

Thanks.
  
  

___
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] ScribbleR2 with different PDF output

2008-11-24 Thread Andy Morsell
Dennis,
That sounds cool.  Would it be possible for you to add this information to
the existing Scribble page in the code samples section?  

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

Andy 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of djonio
Sent: Monday, November 24, 2008 4:42 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] ScribbleR2 with different PDF output


Howdy,

For those of you who use ScribbleR2 I have generated an alternative
MaterializeMapPDFPage method.
This will produce three(3) images and one(1) text page in the generated PDF
file. 
byte[] forPdf1 = MaterializeMapImagePage(session, mapname, width,
height, imageflavor);

byte[] forPdf2 = MaterializeMapImagePage(session, mapname,
System.Convert.ToInt32(Math.Ceiling(width * .65)),
System.Convert.ToInt32(Math.Ceiling(height * .65)),
imageflavor);

byte[] forPdf3 = MaterializeMapImagePage(session, mapname,
System.Convert.ToInt32(Math.Ceiling(width * .40)),
System.Convert.ToInt32(Math.Ceiling(height * .40)),
imageflavor);

Preferences are set in the output PDF to show thumbnails and Fit.

The fourth(4) page is the text contents of the Scribble markup layer.
(centroid of geometry)

If you have made no changes yourself you should be able to rename the
existing MaterializeMapPDFPage method that is in scribblemethodsmgr.cs, copy
and paste the contents of the attachment and you should be good-to-go.

r,
dennis

http://www.nabble.com/file/p20660169/MaterializeMapPDFPage.cs
MaterializeMapPDFPage.cs 
-- 
View this message in context:
http://www.nabble.com/ScribbleR2-with-different-PDF-output-tp20660169p206601
69.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] Doubt with operation "find address"

2008-11-24 Thread Sergio Nistal Calvo

Hi Mauricio,
 
I don´t undestand, what do you say with "modify the php script so that the city 
and the state are not hardcoded as they are in the sample"? What file do I 
modify? and How?
 
Thanks> Date: Sat, 1 Nov 2008 20:54:46 -0700> From: [EMAIL PROTECTED]> To: 
mapguide-users@lists.osgeo.org> Subject: Re: [mapguide-users] Doubt with 
operation "find address"> > > You would have to modify the php script so that 
the city and the state are> not hardcoded as they are in the sample.> > > > > 
sergi nistal wrote:> > > > > > Hi,> > > > "Find Address" uses "rpc.geocoder.us" 
in Sheboygan. Does it exist a> > general web address to find any data? this is, 
can I use the function> > "find address" to find a name (not a number and a 
name as is done in> > Sheboygan, to find a address), but only a name that 
represents a> > natural space (layer "espacios")?> > 
_> > Llega la 
nueva temporada. Consulta las nuevas tendencias en MSN Estilo> > 
http://estilo.es.msn.com/moda/> > 
___> > 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/Doubt-with-operation-%22find-address%22-tp1339947p1444321.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
_
¡Este Otoño reta a tus amigos con el nuevo juego de preguntas LiveQuiz!
http://www.vivelive.com/LiveQuiz/___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Doubts/Problems with find address and plot DWF

2008-11-24 Thread Sergio Nistal Calvo

Hi, 
 
Thanks Kenneth, with your help I have solved the point 1 and 4 (it was the 
same). Now I have the problem 2 and 3, for problem 3 I have seen this post 
http://lists.osgeo.org/pipermail/mapguide-users/2008-January/010926.html but I 
don´t undestand it, what is the .dll file that it must be overwrite?
 
Thanks again.



Date: Mon, 24 Nov 2008 09:22:27 +0100From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: Re: [mapguide-users] Doubts/Problems with query, find address, plot 
DWF and markupRegarding your point 
4:http://lists.osgeo.org/pipermail/mapguide-users/2008-January/010900.htmlRegards,
 Kenneth Skovhede, GEOGRAF A/S
Sergio Nistal Calvo skrev: 


Hi, I have some doubts/problems: 1- How it is used "query"? I never get any 
results, I have some data in shp (shp, shx, sbn, sbx, dbf and idx) format and I 
transformed it to sdf with fdo2fdo but "query" doesn´t work in any format. 
Why?. 2- How do I edit the php script "find address" so that the city and the 
state are not as they are hardcoded in the Sheboygan sample, because my 
question is "Find Address" uses "rpc.geocoder.us" in Sheboygan. Does it exist a 
general web address to find any data? this is, can I use the function "find 
address" to find a name (not a number and a name as is done in Sheboygan to 
find a address), but only a name that represents a natural space in Castilla y 
León (a Spain´s region)? 3- I have installed the program Autodesk design 
review, version 9.0.0.96. With this program works for me the plot of DWF 
Sheboygan, but not with my data type shp, sbx, sbn, dbf, idx and shx (or with 
the transformation to sdf). (The message is: "Your current version of Design 
Review does not support files of this type") Do I need to install another 
program? What is the problem? 4- When I edit a markup I get the following 
error: "Fatal error: Can not create SWIG object type: 
MgCoordinateSystemTransform as the underlying object is abstract in C: \ 
MAPGUIDE2 \ MapGuide-2.0.1 \ Web \ src \ phpgenerictasks \ markup \ classes \ 
markupeditor.php on line 57 ", What is the problem? Please, I stopped, could 
anyone help me? Thanks and a greeting.

Descubre durante 3 meses gratis la protección total de One Care 
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  
_
Diviértete y aprende con el juego de palabras del Abecedario
http://www.vivelive.com/abecedario/___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] wms problem

2008-11-24 Thread alucas

Hello Kenneth,

The connection works fine for me. I also see the layers, but when I add the
layer to the map, I can't see this layer. The same issue with:
http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx

In both cases, my map is in UTM and the WMS servers have their default
Coordinate Systems in Lat/Lon. So, I suspect that the problem could be with
reprojection.

Do you know any bug related with this?

Thanks.


Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> I can connect to it, and list the layers.
> But it returns no spatial context, eg, no coordinate system.
> I don't know why because the returned xml has a few coordinate systems 
> listed.
> 
> I suspect it won't work without a coordinate system.
> 
> You can create a bug report here:
> http://trac.osgeo.org/mapguide/
> 
> Regards, Kenneth Skovhede, GEOGRAF A/S
> 
> 
> 
> alucas skrev:
>> Can anybody connect to this WMS server?
>> http://icvmapas.icv.gva.es/wms
>>
>> I need to connect the schema prueba_wms. I can connect vía AutoCAD Map 3D
>> 2009 and others clients but not with mapguide 2.02.
>>
>> Thanks.
>>   
> ___
> 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/wms-problem-tp20622404p20663319.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] Creating Streets and info

2008-11-24 Thread Carmelo Saffioti
Thank you Kenneth, now it works :-)

Another question:
I've got objects coordinates and data on a MySql DB. Is it possible to use it 
to draw a layer with these objects?

Object coordinates are local relative coordinates. Vehicles positions on my DB 
are lat/lon GPS coordinates. Have you got any suggestions about dealing with 
these different coordinates?


Thank you very much again
Cheers
Carmelo
  - Original Message - 
  From: Kenneth Skovhede, GEOGRAF A/S 
  To: MapGuide Users Mail List 
  Sent: Monday, November 24, 2008 3:29 PM
  Subject: Re: [mapguide-users] Creating Streets and info


  I see the problem now.
  You must include ALL the files, not just the SHP file.
  After that you must select the shp file to be the "main" item (the star 
button in Maestro).

  I can send you a package where I have done this if you like.

  The problem is that Maestro only displays "*.shp" in the file type, and you 
must select "All files" before you can add those other files.
  Feel free to add a feature request for the problem:
  http://trac.osgeo.org/mapguide/newticket


Regards, Kenneth Skovhede, GEOGRAF A/S


  Carmelo Saffioti skrev: 
I tried using the exported SHP file with MapGuide Maestro. Using the 
ajaxviewer example SDF files I see many attributes, but using my exported SHP 
files I see only the FeatId field. If from Autocad Map I export data to SDF 
format I've got the same problem...

If from Autocad Map I connect to the SHP data file I can see its attributes 
values on the data table. How come MapGuide Maestro doesn't display them?

The SHP file is attached with this message,
please help me

  - Original Message - 
  From: Kenneth Skovhede, GEOGRAF A/S 
  To: MapGuide Users Mail List 
  Sent: Monday, November 24, 2008 1:56 PM
  Subject: Re: [mapguide-users] Creating Streets and info


  I am no expert on SHP data, but with most data, the attributes are 
included.
  If you use SHP data in MapGuide the attributes should be IN the SHP (or 
is it dbx, etc) file.
  >From then on you can see the columns everywhere, and use the attributes 
as label or other stuff.
  If you select the columns to view on the layer, they will show up, just 
like the parcel data.

  If you use Arc, the attributes are also attached to the topology, so the 
export should be able to extract that as well.

Regards, Kenneth Skovhede, GEOGRAF A/S


  Carmelo Saffioti skrev: 
Thank you for your help.
I've found how to create object data. The problem is that I've got many
objects (about 10.000), then I need an automatic method to attach data to
objects. Some people told me to follow these steps:
1) create a topology
2) export a SHP file with topology data
3) use topology ID to make a JOIN between topology data and data I need to
attach
4) import in Autocad Map the SHP file
5) label objects, using the Style tool
6) create a link template
7) generate links to "Enclosed Text"

On Autocad Map guide I saw that it is possible to automatically link objects
to data on a DB table. But it requires labels. Using labels created as I
said here doesn't work...

Other people told me to attach objects data using a GIS software, but did
not say which software and how :-(

I hope anybody here can help me, because it's taking a really long time for
this purpose...

I need to develop something similar to the ajaxviewer example, on which you
can view info about Parcels.


Hoping in your help
Cheers
Carmelo

- Original Message - 
From: "Berdel, Brian" <[EMAIL PROTECTED]>
To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 2:45 PM
Subject: RE: [mapguide-users] Creating Streets and info


In autocad map you have to create the object data and attach it to the
features.  Check the help for creating object data.  It is pretty
straight forward once you know what you are doing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carmelo
Saffioti
Sent: Tuesday, November 18, 2008 8:49 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Creating Streets and info

Thanks Zac.
You said that the street layer tooltip is based on attributes chosen
from
the feature source. Looking with Maestro at the viewer example I see
what
you mean. Then now I need to create a feature source with attributes.
The
feature source I'm using is a SHP file exported from my DWG planimetry
with
Autocad Map. Importing it into MapGuide I can see that it has only 1
attribute: FeatId.

I saw that the viewer example uses a layer called "Parcels", which has
many
attributes. I need something similar, because on my planimetry I have
many
adiacents blocks, and for each of them I need to show a tooltip with
detail
informations (for example: Row number, Block number, Area code).

Have I create this blocks, with their detail informations, on Autocad
Map?
I tried importing the Parcel SDF file features source into Autocad Map,
and
I see that each block is a polil

Re: [mapguide-users] Creating Streets and info

2008-11-24 Thread Kenneth Skovhede, GEOGRAF A/S

I see the problem now.
You must include ALL the files, not just the SHP file.
After that you must select the shp file to be the "main" item (the star 
button in Maestro).


I can send you a package where I have done this if you like.

The problem is that Maestro only displays "*.shp" in the file type, and 
you must select "All files" before you can add those other files.

Feel free to add a feature request for the problem:
http://trac.osgeo.org/mapguide/newticket

Regards, Kenneth Skovhede, GEOGRAF A/S



Carmelo Saffioti skrev:
I tried using the exported SHP file with MapGuide Maestro. Using the 
ajaxviewer example SDF files I see many attributes, but using my 
exported SHP files I see only the FeatId field. If from Autocad Map I 
export data to SDF format I've got the same problem...
 
If from Autocad Map I connect to the SHP data file I can see its 
attributes values on the data table. How come MapGuide Maestro doesn't 
display them?
 
The SHP file is attached with this message,

please help me
 


- Original Message -
*From:* Kenneth Skovhede, GEOGRAF A/S 
*To:* MapGuide Users Mail List

*Sent:* Monday, November 24, 2008 1:56 PM
*Subject:* Re: [mapguide-users] Creating Streets and info

I am no expert on SHP data, but with most data, the attributes are
included.
If you use SHP data in MapGuide the attributes should be IN the
SHP (or is it dbx, etc) file.
>From then on you can see the columns everywhere, and use the
attributes as label or other stuff.
If you select the columns to view on the layer, they will show up,
just like the parcel data.

If you use Arc, the attributes are also attached to the topology,
so the export should be able to extract that as well.

Regards, Kenneth Skovhede, GEOGRAF A/S





Carmelo Saffioti skrev:

Thank you for your help.
I've found how to create object data. The problem is that I've got many
objects (about 10.000), then I need an automatic method to attach data to
objects. Some people told me to follow these steps:
1) create a topology
2) export a SHP file with topology data
3) use topology ID to make a JOIN between topology data and data I need to
attach
4) import in Autocad Map the SHP file
5) label objects, using the Style tool
6) create a link template
7) generate links to "Enclosed Text"

On Autocad Map guide I saw that it is possible to automatically link objects
to data on a DB table. But it requires labels. Using labels created as I
said here doesn't work...

Other people told me to attach objects data using a GIS software, but did
not say which software and how :-(

I hope anybody here can help me, because it's taking a really long time for
this purpose...

I need to develop something similar to the ajaxviewer example, on which you
can view info about Parcels.


Hoping in your help
Cheers
Carmelo

- Original Message - 
From: "Berdel, Brian" <[EMAIL PROTECTED]>

To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 2:45 PM
Subject: RE: [mapguide-users] Creating Streets and info


In autocad map you have to create the object data and attach it to the
features.  Check the help for creating object data.  It is pretty
straight forward once you know what you are doing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carmelo
Saffioti
Sent: Tuesday, November 18, 2008 8:49 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Creating Streets and info

Thanks Zac.
You said that the street layer tooltip is based on attributes chosen
from
the feature source. Looking with Maestro at the viewer example I see
what
you mean. Then now I need to create a feature source with attributes.
The
feature source I'm using is a SHP file exported from my DWG planimetry
with
Autocad Map. Importing it into MapGuide I can see that it has only 1
attribute: FeatId.

I saw that the viewer example uses a layer called "Parcels", which has
many
attributes. I need something similar, because on my planimetry I have
many
adiacents blocks, and for each of them I need to show a tooltip with
detail
informations (for example: Row number, Block number, Area code).

Have I create this blocks, with their detail informations, on Autocad
Map?
I tried importing the Parcel SDF file features source into Autocad Map,
and
I see that each block is a poliline. But I don't see any attribute, I
don't
know how to...


- Original Message - 
From: "Zac Spitzer" <[EMAIL PROTECTED]>

To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 12:29 PM
Subject: Re: [mapguide-users] Creating Streets and info


  

 

Re: [mapguide-users] New King.Oracle 0.8 - improved performance

2008-11-24 Thread Crispin @ 1Spatial

Simon,

The exception is in at least the DescribeSchema call as shown by the dotnet
trace below that is just throwing exeption.message to a MessageBox.  This is
with instantclient 10.2 to one of our client databases that runs on Oracle
SDO_GEOM.

http://www.nabble.com/file/p20661076/king_exception.jpg 

 Crispin




Hi! 
I exported whole Sheboygan sample SDF files to Oracle . 
After extensively testing with provider version 0.8.5 i had no issues
with Sheboygan data. 

Simon 

Nick Adams wrote:

  
Output from the log file:
...
<325-10-21 13:59:41>c_KgOraConnection3::Open OK
<325-10-21 13:59:41>c_KgOraConnection3::GetConnectionState
<325-10-21 13:59:41>c_KgOraConnection3::GetConnectionState
<325-10-21 13:59:41>c_KgOraConnection::CreateCommand 0
'FdoCommandType_Select'
<325-10-21 13:59:41>c_KgOraConnection3::GetConnectionState
<325-10-21 13:59:41>c_KgOraConnection3::GetConnectionState
<325-10-21 13:59:41>c_KgOraSelectCommand.Execute: Command Parameters
<325-10-21 13:59:41>c_KgOraSelectCommand.Execute Select List:
'SHAPE,KEYVAL'
<325-10-21 13:59:41>c_KgOraSelectCommand.Execute Filter: 'SHAPE
ENVELOPEINTERSECTS GeomFromText('POLYGON ((325400 701400, 325600 701400,
325600 701600, 325400 701600, 325400 701400))')'
<325-10-21 13:59:41>c_KgOraConnection3::GetConnectionString

Then I get the usual error:  Attempted to read or write protected memory.

-- 
View this message in context: 
http://www.nabble.com/New-King.Oracle-0.8---improved-performance-tp20580002p20661076.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] Creating Streets and info

2008-11-24 Thread Kenneth Skovhede, GEOGRAF A/S

I am no expert on SHP data, but with most data, the attributes are included.
If you use SHP data in MapGuide the attributes should be IN the SHP (or 
is it dbx, etc) file.
From then on you can see the columns everywhere, and use the attributes 
as label or other stuff.
If you select the columns to view on the layer, they will show up, just 
like the parcel data.


If you use Arc, the attributes are also attached to the topology, so the 
export should be able to extract that as well.


Regards, Kenneth Skovhede, GEOGRAF A/S



Carmelo Saffioti skrev:

Thank you for your help.
I've found how to create object data. The problem is that I've got many
objects (about 10.000), then I need an automatic method to attach data to
objects. Some people told me to follow these steps:
1) create a topology
2) export a SHP file with topology data
3) use topology ID to make a JOIN between topology data and data I need to
attach
4) import in Autocad Map the SHP file
5) label objects, using the Style tool
6) create a link template
7) generate links to "Enclosed Text"

On Autocad Map guide I saw that it is possible to automatically link objects
to data on a DB table. But it requires labels. Using labels created as I
said here doesn't work...

Other people told me to attach objects data using a GIS software, but did
not say which software and how :-(

I hope anybody here can help me, because it's taking a really long time for
this purpose...

I need to develop something similar to the ajaxviewer example, on which you
can view info about Parcels.


Hoping in your help
Cheers
Carmelo

- Original Message - 
From: "Berdel, Brian" <[EMAIL PROTECTED]>

To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 2:45 PM
Subject: RE: [mapguide-users] Creating Streets and info


In autocad map you have to create the object data and attach it to the
features.  Check the help for creating object data.  It is pretty
straight forward once you know what you are doing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carmelo
Saffioti
Sent: Tuesday, November 18, 2008 8:49 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Creating Streets and info

Thanks Zac.
You said that the street layer tooltip is based on attributes chosen
from
the feature source. Looking with Maestro at the viewer example I see
what
you mean. Then now I need to create a feature source with attributes.
The
feature source I'm using is a SHP file exported from my DWG planimetry
with
Autocad Map. Importing it into MapGuide I can see that it has only 1
attribute: FeatId.

I saw that the viewer example uses a layer called "Parcels", which has
many
attributes. I need something similar, because on my planimetry I have
many
adiacents blocks, and for each of them I need to show a tooltip with
detail
informations (for example: Row number, Block number, Area code).

Have I create this blocks, with their detail informations, on Autocad
Map?
I tried importing the Parcel SDF file features source into Autocad Map,
and
I see that each block is a poliline. But I don't see any attribute, I
don't
know how to...


- Original Message - 
From: "Zac Spitzer" <[EMAIL PROTECTED]>

To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 12:29 PM
Subject: Re: [mapguide-users] Creating Streets and info


  

have a look at how the example you looked at is configured

the street layer will expose a tooltip based on the attributes chosen
from the feature source in the tooltip expression

z

On Tue, Nov 18, 2008 at 10:29 PM, Carmelo Saffioti <[EMAIL PROTECTED]>


wrote:
  

Thank you for your answer.
I'm using Maestro. Ok, I see that the tooltip is definable on the
  

layer
with
  

Maestro.
So, to have a tooltip for each street should I have a layer for each
  

street?
  

- Original Message -
From: "Zac Spitzer" <[EMAIL PROTECTED]>
To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 12:15 PM
Subject: Re: [mapguide-users] Creating Streets and info


  

what tools are you using? studio, maestro?

they are called tooltips and they are defined per layer

On Tue, Nov 18, 2008 at 10:12 PM, Carmelo Saffioti


<[EMAIL PROTECTED]>
  

wrote:
  

Hi everybody,
Seeing the MapGuide viewer example I saw that when the mouse
  

cursor
is
  

over
  

a street it displays a message with informations about the
  

street.
I'd
  

like
  

to make something similar. I need to create streets and infos
  

too.
How
  

can I
  

do?
I hope you can help me starting


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


  


--
Zac Spitzer -
http://zacster.blogspot.com
http://ennoble.dreamhosters.com/mapguide-central/
+61 405 847 168
___
mapguide-users mailing list
mapguide-user

[mapguide-users] ScribbleR2 with different PDF output

2008-11-24 Thread djonio

Howdy,

For those of you who use ScribbleR2 I have generated an alternative
MaterializeMapPDFPage method.
This will produce three(3) images and one(1) text page in the generated PDF
file. 
byte[] forPdf1 = MaterializeMapImagePage(session, mapname, width,
height, imageflavor);

byte[] forPdf2 = MaterializeMapImagePage(session, mapname,
System.Convert.ToInt32(Math.Ceiling(width * .65)),
System.Convert.ToInt32(Math.Ceiling(height * .65)),
imageflavor);

byte[] forPdf3 = MaterializeMapImagePage(session, mapname,
System.Convert.ToInt32(Math.Ceiling(width * .40)),
System.Convert.ToInt32(Math.Ceiling(height * .40)),
imageflavor);

Preferences are set in the output PDF to show thumbnails and Fit.

The fourth(4) page is the text contents of the Scribble markup layer.
(centroid of geometry)

If you have made no changes yourself you should be able to rename the
existing MaterializeMapPDFPage method that is in scribblemethodsmgr.cs, copy
and paste the contents of the attachment and you should be good-to-go.

r,
dennis

http://www.nabble.com/file/p20660169/MaterializeMapPDFPage.cs
MaterializeMapPDFPage.cs 
-- 
View this message in context: 
http://www.nabble.com/ScribbleR2-with-different-PDF-output-tp20660169p20660169.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] WMS featuresource + projection problem

2008-11-24 Thread web
Hi Kenneth,
thanks for your hints, it's gonna help me. In fact, skipping reprojection in 
case of empty map projection definition would be a good deal.
With Mapguide Studio it's for now impossible to override a WMS FeatureSource 
projection. I didn't knew it was possible with Maestro. So I've tryed with 
maestro to override the FeatureSource projection with "XY-M" but had the same 
warning. 
It didn't also knew the issue with MapGuide Studio and the projection libraries 
Mentor and Proj4 with MGOS. Thus, I'm going to take further tests with Maestro. 
I will let you and the community know if I find a good "workaround" which goes.

Thanks again for sharing your experience!

Rémy


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


[mapguide-users] Dynamically Setting Initial Map Position and Scale

2008-11-24 Thread Love, Bev (Capita Symonds)
Afternoon all,

 

I'm hoping someone will be able to look through the code I have to
dynamically set the initial map position and scale. I have taken this
straight from the code sample
(http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/InitialMapView) but
when I run it, it just opens the map up at the default scale level. Any
help would be greatly appreciated...

 

I am passing in X, Y and Scale as parameters within the query string.

 

global $_itkconfig, $session;

 //this code is used to display the Open Source MapGuide Web
Layout screen

 //common file from MapGuide Open Source

 require_once('..\data\common.php');

 

 //need to include the MapGuide Open Source constants file for
PHP

 
require_once($_itkconfig['site']['mapObject']['viewerDir'].'constants.ph
p');

 

   //

  // Check and get the required parameters.

  //

  if (!isset($_REQUEST["x"]) || !isset($_REQUEST["y"]) ||
!isset($_REQUEST["scale"])) {

  echo "One or more of the required arguments is
missing.";

  exit;

  }

 

  $x = $_REQUEST["x"];

  $y = $_REQUEST["y"];

  $scale = $_REQUEST["scale"];

 

 

//

// Usual initialisation step.

//

 
MgInitializeWebTier($_itkconfig['site']['mapObject']['webConfigFilePath'
]);

 

//

// Obtain a new session ID for this anonymous user, use it to
set up

// a new site connection and use that to create a resource
service.

//

$site = new MgSite();

$site->Open(new MgUserInformation("Anonymous", ""));

 

$sessionId = $site->CreateSession();

 

$siteConnection = new MgSiteConnection();

$siteConnection->Open(new MgUserInformation($sessionId));

 

$resourceService =
$siteConnection->CreateService(MgServiceType::ResourceService);

 

//

// Read the web layout into an XML DOM document object.

//

$wl = "Library:// Layouts/Development_Layout.WebLayout"; // TODO
Constant!

$wlResourceId = new MgResourceIdentifier($wl);

$wlReader = $resourceService->GetResourceContent($wlResourceId);

$wlXml = $wlReader->ToString();

$wlDomDoc = DOMDocument::loadXML($wlXml); 

 

//

// Now, update the initial x, y and scale values with the
desired values.

//

$nodeCenterX =
$wlDomDoc->getElementsByTagName("CenterX")->item(0);

$nodeCenterX->nodeValue = "$x";

 

$nodeCenterY =
$wlDomDoc->getElementsByTagName("CenterY")->item(0);

$nodeCenterY->nodeValue = "$y";

 

$nodeScale = $wlDomDoc->getElementsByTagName("Scale")->item(0);

$nodeScale->nodeValue = "$scale";

 

//

// Prepare the updated XML to be written out to the session.

//

$updatedXml = $wlDomDoc->saveXML();

$byteSource = new MgByteSource($updatedXml,
strlen($updatedXml));

 

//

// Create a web layout in the session to hold the updated
version

// from the library.

//

$sessionMapName = $wlResourceId->GetName();

$sessionWebLayout =
"Session:$sessionId//$sessionMapName.WebLayout";

$sessionResourceId = new
MgResourceIdentifier($sessionWebLayout);

 

//

// Write the updated web layout to the session.

//

$resourceService->SetResource($sessionResourceId,
$byteSource->GetReader(), null);

 

//

// Redirect to the Ajax viewer pointing at the map at the
desired coordinates.

//

$redirectTo =
"mapguide/mapviewerajax/?SESSION=$sessionId&WEBLAYOUT=$sessionWebLayout"
; 

$url = "http://localhost:8008/$redirectTo";;





header("Location: $url");

exit;

 

Thanks,

 

Bev

 


This email and any attachment are intended solely for the addressee, are 
strictly confidential and may be legally privileged. If you are not the 
intended recipient any reading, dissemination, copying or any other use or 
reliance is prohibited. If you have received this email in error please notify 
the sender immediately by email and then permanently delete the email. 
Copyright reserved.

All communications, incoming and outgoing, may be recorded and are monitored 
for legitimate business purposes. 

The security and reliability of email transmission cannot be guaranteed. It is 
the recipient’s responsibility to scan this e-mail and any attachment for the 
presence of viruses. 

The Capita Group plc and its subsidiaries ("Capita") exclude all liability for 
any loss or damage whatsoever arising or resulting from the receipt, use or 
transmission of this email. 

Any views or opinions expressed in this email are those of the author only.___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Creating Streets and info

2008-11-24 Thread Carmelo Saffioti
Thank you for your help.
I've found how to create object data. The problem is that I've got many
objects (about 10.000), then I need an automatic method to attach data to
objects. Some people told me to follow these steps:
1) create a topology
2) export a SHP file with topology data
3) use topology ID to make a JOIN between topology data and data I need to
attach
4) import in Autocad Map the SHP file
5) label objects, using the Style tool
6) create a link template
7) generate links to "Enclosed Text"

On Autocad Map guide I saw that it is possible to automatically link objects
to data on a DB table. But it requires labels. Using labels created as I
said here doesn't work...

Other people told me to attach objects data using a GIS software, but did
not say which software and how :-(

I hope anybody here can help me, because it's taking a really long time for
this purpose...

I need to develop something similar to the ajaxviewer example, on which you
can view info about Parcels.


Hoping in your help
Cheers
Carmelo

- Original Message - 
From: "Berdel, Brian" <[EMAIL PROTECTED]>
To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 2:45 PM
Subject: RE: [mapguide-users] Creating Streets and info


In autocad map you have to create the object data and attach it to the
features.  Check the help for creating object data.  It is pretty
straight forward once you know what you are doing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carmelo
Saffioti
Sent: Tuesday, November 18, 2008 8:49 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Creating Streets and info

Thanks Zac.
You said that the street layer tooltip is based on attributes chosen
from
the feature source. Looking with Maestro at the viewer example I see
what
you mean. Then now I need to create a feature source with attributes.
The
feature source I'm using is a SHP file exported from my DWG planimetry
with
Autocad Map. Importing it into MapGuide I can see that it has only 1
attribute: FeatId.

I saw that the viewer example uses a layer called "Parcels", which has
many
attributes. I need something similar, because on my planimetry I have
many
adiacents blocks, and for each of them I need to show a tooltip with
detail
informations (for example: Row number, Block number, Area code).

Have I create this blocks, with their detail informations, on Autocad
Map?
I tried importing the Parcel SDF file features source into Autocad Map,
and
I see that each block is a poliline. But I don't see any attribute, I
don't
know how to...


- Original Message - 
From: "Zac Spitzer" <[EMAIL PROTECTED]>
To: "MapGuide Users Mail List" 
Sent: Tuesday, November 18, 2008 12:29 PM
Subject: Re: [mapguide-users] Creating Streets and info


> have a look at how the example you looked at is configured
>
> the street layer will expose a tooltip based on the attributes chosen
> from the feature source in the tooltip expression
>
> z
>
> On Tue, Nov 18, 2008 at 10:29 PM, Carmelo Saffioti <[EMAIL PROTECTED]>
wrote:
> > Thank you for your answer.
> > I'm using Maestro. Ok, I see that the tooltip is definable on the
layer
with
> > Maestro.
> > So, to have a tooltip for each street should I have a layer for each
street?
> >
> > - Original Message -
> > From: "Zac Spitzer" <[EMAIL PROTECTED]>
> > To: "MapGuide Users Mail List" 
> > Sent: Tuesday, November 18, 2008 12:15 PM
> > Subject: Re: [mapguide-users] Creating Streets and info
> >
> >
> >> what tools are you using? studio, maestro?
> >>
> >> they are called tooltips and they are defined per layer
> >>
> >> On Tue, Nov 18, 2008 at 10:12 PM, Carmelo Saffioti
<[EMAIL PROTECTED]>
> > wrote:
> >> > Hi everybody,
> >> > Seeing the MapGuide viewer example I saw that when the mouse
cursor
is
> > over
> >> > a street it displays a message with informations about the
street.
I'd
> > like
> >> > to make something similar. I need to create streets and infos
too.
How
> > can I
> >> > do?
> >> > I hope you can help me starting
> >> >
> >> >
> >> > Cheers
> >> > Carmelo
> >> > ___
> >> > mapguide-users mailing list
> >> > mapguide-users@lists.osgeo.org
> >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Zac Spitzer -
> >> http://zacster.blogspot.com
> >> http://ennoble.dreamhosters.com/mapguide-central/
> >> +61 405 847 168
> >> ___
> >> 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
> >
>
>
>
> -- 
> Zac Spitzer -
> http://zacster.blogspot.com
> http://ennoble.dreamhosters.com/mapguide-central/
> +61 405 847 168
> ___
> mapguide

Re: [mapguide-users] wms problem

2008-11-24 Thread Kenneth Skovhede, GEOGRAF A/S

I can connect to it, and list the layers.
But it returns no spatial context, eg, no coordinate system.
I don't know why because the returned xml has a few coordinate systems 
listed.


I suspect it won't work without a coordinate system.

You can create a bug report here:
http://trac.osgeo.org/mapguide/

Regards, Kenneth Skovhede, GEOGRAF A/S



alucas skrev:

Can anybody connect to this WMS server?
http://icvmapas.icv.gva.es/wms

I need to connect the schema prueba_wms. I can connect vía AutoCAD Map 3D
2009 and others clients but not with mapguide 2.02.

Thanks.
  

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


Re: [mapguide-users] Sample + Tracking Idea + xml

2008-11-24 Thread Akram

Real time refresh it mean you need real time draw point so, this topic will
help you (Draw Line) but you should use Point schema instead Line Schema 

http://www.nabble.com/Draw-Line-ASP-.NET...-td20454706.html

if any problem we can continues discuss here

Best Regards

-
http://www.gsg-eg.com GeoService
http://www.nabble.com/file/u1219190/head2.jpg  [EMAIL PROTECTED]
http://gsg-eg.com GeoService 
-- 
View this message in context: 
http://www.nabble.com/Sample-%2B-Tracking-Idea-%2B-xml-tp20452630p20656747.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] Doubts/Problems with query, find address, plot DWF and markup

2008-11-24 Thread Kenneth Skovhede, GEOGRAF A/S

Regarding your point 4:
http://lists.osgeo.org/pipermail/mapguide-users/2008-January/010900.html

Regards, Kenneth Skovhede, GEOGRAF A/S



Sergio Nistal Calvo skrev:

Hi, I have some doubts/problems:
 
1- How it is used "query"? I never get any results, I have some data 
in shp (shp, shx, sbn, sbx, dbf and idx) format and I transformed it 
to sdf with fdo2fdo but "query" doesn´t work in any format. Why?.


2- How do I edit the php script "find address" so that the city and 
the state are not as they are hardcoded in the Sheboygan sample, 
because my question is "Find Address" uses "rpc.geocoder.us" in 
Sheboygan. Does it exist a general web address to find any data? this 
is, can I use the function "find address" to find a name (not a number 
and a name as is done in Sheboygan to find a address), but only a name 
that represents a natural space in Castilla y León (a Spain´s region)?


3- I have installed the program Autodesk design review, version 
9.0.0.96. With this program works for me the plot of DWF Sheboygan, 
but not with my data type shp, sbx, sbn, dbf, idx and shx (or with the 
transformation to sdf). (The message is: "Your current version of 
Design Review does not support files of this type") Do I need to 
install another program? What is the problem? 

4- When I edit a markup I get the following error: "Fatal error: Can 
not create SWIG object type: MgCoordinateSystemTransform as the 
underlying object is abstract in C: \ MAPGUIDE2 \ MapGuide-2.0.1 \ Web 
\ src \ phpgenerictasks \ markup \ classes \ markupeditor.php on line 
57 ", What is the problem?
 
Please, I stopped, could anyone help me?
 
Thanks and a greeting.



Descubre durante 3 meses gratis la protección total de One Care 




___
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