Creating and adding layers

16 messages Options
Embed this post
Permalink
oshan

Creating and adding layers

Reply Threaded More More options
Print post
Permalink
(This post was updated on )
Hi

I want to know how to create layers?

Say that you have a map and you want to create layers for political divisions. How would you go about doing this?

I ask this before but I didn't get any answer. My apologies if its a stupic question! Since I don't really have any good vectored based maps, is it possible to use a jpeg as a base image? How do I achieve this?

I appreciate any help
Thanks

Update
I realise the reason why I can't preview raster data must be something to do with the coordinate system.

How do I find out what coordinate system and extent to use?

I tried setting the coordinates to arbitrary and chose the first one on the list. I tries setting in the map to the pixel size of the image this doesn't really work

Any ideas?
Kenneth Skovhede, GEOGRAF A/S

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
There is a short (incomplete) guide here that explains the procedure
from a users viewpoint:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide

If you have MapGuide Enterprise, you can get Studio for free, which has
a manual in the "Help" menu.

If you need to create data as well, you need a GIS client application,
such as Autocad Map, ArcGIS or MapInfo.
(There are free clients avalible as well)

Your question is a bit vague, so if this is an answer to another
question, can you explain your current setup?

Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:

> Hi
>
> I want to know how to create layers?
>
> Say that you have a map and you want to create layers for political
> divisions. How would you go about doing this?
>
> I ask this before but I didn't get any answer. My apologies if its a stupic
> question! Since I don't really have any good vectored based maps, is it
> possible to use a jpeg as a base image? How do I achieve this?
>
> I appreciate any help
> Thanks
>  
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Dejan Gregor

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
Hi,

I would like to add a question -- is it possible to programmatically add new layers into the 'map' triggering a command from the MapGuide web client?

It is an actual configuration change of the 'map' that is not done in Mapguide Mestro.

Dejan

On Wed, Nov 4, 2009 at 08:39, Kenneth Skovhede, GEOGRAF A/S <[hidden email]> wrote:
There is a short (incomplete) guide here that explains the procedure from a users viewpoint:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide

If you have MapGuide Enterprise, you can get Studio for free, which has a manual in the "Help" menu.

If you need to create data as well, you need a GIS client application, such as Autocad Map, ArcGIS or MapInfo.
(There are free clients avalible as well)

Your question is a bit vague, so if this is an answer to another question, can you explain your current setup?


Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:

Hi

I want to know how to create layers?
Say that you have a map and you want to create layers for political
divisions. How would you go about doing this?

I ask this before but I didn't get any answer. My apologies if its a stupic
question! Since I don't really have any good vectored based maps, is it
possible to use a jpeg as a base image? How do I achieve this?

I appreciate any help
Thanks
 
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
__

Dejan Gregor, MSc
GISc Researcher and Consultant

http://www.linkedin.com/in/dgregor 
Kenneth Skovhede, GEOGRAF A/S

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Yes, it is possible.

You need a "runtime map" instance.

Short C# example:

MgResourceService srvc;
MgMap map = new MgMap();
map.Open(srvc, "mapname");
MgLayer layer = new MgLayer();
... set layer properties, such as .LayerDefinition path ...
map.Layers.Add(layer);
map.Save(srvc, "mapname");

Regards, Kenneth Skovhede, GEOGRAF A/S


Dejan Gregor skrev:
Hi,

I would like to add a question -- is it possible to programmatically add new layers into the 'map' triggering a command from the MapGuide web client?

It is an actual configuration change of the 'map' that is not done in Mapguide Mestro.

Dejan

On Wed, Nov 4, 2009 at 08:39, Kenneth Skovhede, GEOGRAF A/S <[hidden email]> wrote:
There is a short (incomplete) guide here that explains the procedure from a users viewpoint:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide

If you have MapGuide Enterprise, you can get Studio for free, which has a manual in the "Help" menu.

If you need to create data as well, you need a GIS client application, such as Autocad Map, ArcGIS or MapInfo.
(There are free clients avalible as well)

Your question is a bit vague, so if this is an answer to another question, can you explain your current setup?


Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:

Hi

I want to know how to create layers?
Say that you have a map and you want to create layers for political
divisions. How would you go about doing this?

I ask this before but I didn't get any answer. My apologies if its a stupic
question! Since I don't really have any good vectored based maps, is it
possible to use a jpeg as a base image? How do I achieve this?

I appreciate any help
Thanks
 
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


_______________________________________________ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Dejan Gregor

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
Thanks a lot, Kenneth! Wow, didn't know it can be implemented so easy.

Dejan

On Wed, Nov 4, 2009 at 09:16, Kenneth Skovhede, GEOGRAF A/S <[hidden email]> wrote:
Yes, it is possible.

You need a "runtime map" instance.

Short C# example:

MgResourceService srvc;
MgMap map = new MgMap();
map.Open(srvc, "mapname");
MgLayer layer = new MgLayer();
... set layer properties, such as .LayerDefinition path ...
map.Layers.Add(layer);
map.Save(srvc, "mapname");


Regards, Kenneth Skovhede, GEOGRAF A/S


Dejan Gregor skrev:
Hi,

I would like to add a question -- is it possible to programmatically add new layers into the 'map' triggering a command from the MapGuide web client?

It is an actual configuration change of the 'map' that is not done in Mapguide Mestro.

Dejan

On Wed, Nov 4, 2009 at 08:39, Kenneth Skovhede, GEOGRAF A/S <[hidden email]> wrote:
There is a short (incomplete) guide here that explains the procedure from a users viewpoint:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide

If you have MapGuide Enterprise, you can get Studio for free, which has a manual in the "Help" menu.

If you need to create data as well, you need a GIS client application, such as Autocad Map, ArcGIS or MapInfo.
(There are free clients avalible as well)

Your question is a bit vague, so if this is an answer to another question, can you explain your current setup?


Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:

Hi

I want to know how to create layers?
Say that you have a map and you want to create layers for political
divisions. How would you go about doing this?

I ask this before but I didn't get any answer. My apologies if its a stupic
question! Since I don't really have any good vectored based maps, is it
possible to use a jpeg as a base image? How do I achieve this?

I appreciate any help
Thanks
 
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


_______________________________________________ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users



_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
__

Dejan Gregor, MSc
GISc Researcher and Consultant

http://www.linkedin.com/in/dgregor 
Remco Houtkamp

Mapguide Centos and FDO trouble isntalling

Reply Threaded More More options
Print post
Permalink

Hi list,

After being unsuccesfull trying to connect a winxp installation to postgis I switched to linux. It is really hard, because I don't know te basics. After a few days my knowledge of linux improved a little. I think I know why I can not install Mapguide to Centos5. I get this message:

In file included from Band.h:21,
                 from Band.cpp:20:
Stylization.h:77:17: error: Fdo.h: No such file or directory
Stylization.h:78:33: error: FdoExpressionEngine.h: No such file or directory
Stylization.h:79:51: error: FdoExpressionEngineFunctionCollection.h: No such file or directory
Stylization.h:80:54: error: FdoExpressionEngineINonAggregateFunction.h: No such file or directory
Stylization.h:85: error: 'FDO_ACTIVELONGTRANSACTION' was not declared in this scope
Stylization.h:86: error: 'FDO_ROOTLONGTRANSACTION' was not declared in this scope
GridData.h:54: error: 'FdoString' has not been declared
LineBuffer.h:85: error: 'FdoDimensionality' has not been declared
LineBuffer.h:115: error: 'FdoDimensionality' has not been declared
LineBuffer.h:122: error: 'FdoDimensionality' does not name a type
LineBuffer.h:193: error: 'FdoDimensionality' does not name a type
LineBuffer.h:85: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:115: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:244: error: 'FdoDimensionality' has not been declared
LineBuffer.h:244: error: 'FdoDimensionality_XY' was not declared in this scope
make[2]: *** [Band.lo] Fout 1
make[2]: Map '/root/Desktop/mapguide-2.0.2/Common/Stylization' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/root/Desktop/mapguide-2.0.2/Common' wordt verlaten
make: *** [all-recursive] Fout 1

So there is a FDO problem. I installed FDO 3.4.0 using svn checkout http://svn.osgeo.org/fdo/tags/3.4.0/ fdo-3.4.0 (adjustment from this tutorial http://wiki.osgeo.org/wiki/Building_MapGuide_on_CentOS_5 )

The documentation tells me I've to specify the fdo location when installing mapguide. I tried to do this by ./configure --with-fdo-include= IncludeDir --with-fdo-lib= LibDir which I altered to ./configure --with-fdo-include= /usr/local/fdo-3.4.0 --with-fdo-lib= /usr/local/fdo-3.4.0/lib

What is it I'm doing wrong? Is it ok that /usr/local/fdo-3.4.0 is empty except for the map lib? the map lib does contain files.

Thanks in advance.


_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

winmail.dat (5K) Download Attachment
zspitzer

Re: Mapguide Centos and FDO trouble isntalling

Reply Threaded More More options
Print post
Permalink
which version of MG are you trying to build?

On Wed, Nov 4, 2009 at 8:16 PM, Remco Houtkamp <[hidden email]> wrote:

Hi list,

After being unsuccesfull trying to connect a winxp installation to postgis I switched to linux. It is really hard, because I don't know te basics. After a few days my knowledge of linux improved a little. I think I know why I can not install Mapguide to Centos5. I get this message:

In file included from Band.h:21,
                from Band.cpp:20:
Stylization.h:77:17: error: Fdo.h: No such file or directory
Stylization.h:78:33: error: FdoExpressionEngine.h: No such file or directory
Stylization.h:79:51: error: FdoExpressionEngineFunctionCollection.h: No such file or directory
Stylization.h:80:54: error: FdoExpressionEngineINonAggregateFunction.h: No such file or directory
Stylization.h:85: error: 'FDO_ACTIVELONGTRANSACTION' was not declared in this scope
Stylization.h:86: error: 'FDO_ROOTLONGTRANSACTION' was not declared in this scope
GridData.h:54: error: 'FdoString' has not been declared
LineBuffer.h:85: error: 'FdoDimensionality' has not been declared
LineBuffer.h:115: error: 'FdoDimensionality' has not been declared
LineBuffer.h:122: error: 'FdoDimensionality' does not name a type
LineBuffer.h:193: error: 'FdoDimensionality' does not name a type
LineBuffer.h:85: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:115: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:244: error: 'FdoDimensionality' has not been declared
LineBuffer.h:244: error: 'FdoDimensionality_XY' was not declared in this scope
make[2]: *** [Band.lo] Fout 1
make[2]: Map '/root/Desktop/mapguide-2.0.2/Common/Stylization' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/root/Desktop/mapguide-2.0.2/Common' wordt verlaten
make: *** [all-recursive] Fout 1

So there is a FDO problem. I installed FDO 3.4.0 using svn checkout http://svn.osgeo.org/fdo/tags/3.4.0/ fdo-3.4.0 (adjustment from this tutorial http://wiki.osgeo.org/wiki/Building_MapGuide_on_CentOS_5 )

The documentation tells me I've to specify the fdo location when installing mapguide. I tried to do this by ./configure --with-fdo-include= IncludeDir --with-fdo-lib= LibDir which I altered to ./configure --with-fdo-include= /usr/local/fdo-3.4.0 --with-fdo-lib= /usr/local/fdo-3.4.0/lib

What is it I'm doing wrong? Is it ok that /usr/local/fdo-3.4.0 is empty except for the map lib? the map lib does contain files.

Thanks in advance.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168




_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Remco Houtkamp

RE: Mapguide Centos and FDO trouble isntalling

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Zac, I’m trying to install Mapguide 2.0.2

 

 

Met vriendelijke groet,
 

 
Remco Houtkamp
 
BURO HOUTKAMP
|T: 06 14 390 205 |E: [hidden email] |P:  Kweldergras 21, 1441 WP, Purmerend |

 

Van: [hidden email] [mailto:[hidden email]] Namens Zac Spitzer
Verzonden: woensdag 4 november 2009 10:36
Aan: MapGuide Users Mail List
Onderwerp: Re: [mapguide-users] Mapguide Centos and FDO trouble isntalling

 

which version of MG are you trying to build?

On Wed, Nov 4, 2009 at 8:16 PM, Remco Houtkamp <[hidden email]> wrote:


Hi list,

After being unsuccesfull trying to connect a winxp installation to postgis I switched to linux. It is really hard, because I don't know te basics. After a few days my knowledge of linux improved a little. I think I know why I can not install Mapguide to Centos5. I get this message:

In file included from Band.h:21,
                from Band.cpp:20:
Stylization.h:77:17: error: Fdo.h: No such file or directory
Stylization.h:78:33: error: FdoExpressionEngine.h: No such file or directory
Stylization.h:79:51: error: FdoExpressionEngineFunctionCollection.h: No such file or directory
Stylization.h:80:54: error: FdoExpressionEngineINonAggregateFunction.h: No such file or directory
Stylization.h:85: error: 'FDO_ACTIVELONGTRANSACTION' was not declared in this scope
Stylization.h:86: error: 'FDO_ROOTLONGTRANSACTION' was not declared in this scope
GridData.h:54: error: 'FdoString' has not been declared
LineBuffer.h:85: error: 'FdoDimensionality' has not been declared
LineBuffer.h:115: error: 'FdoDimensionality' has not been declared
LineBuffer.h:122: error: 'FdoDimensionality' does not name a type
LineBuffer.h:193: error: 'FdoDimensionality' does not name a type
LineBuffer.h:85: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:115: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:244: error: 'FdoDimensionality' has not been declared
LineBuffer.h:244: error: 'FdoDimensionality_XY' was not declared in this scope
make[2]: *** [Band.lo] Fout 1
make[2]: Map '/root/Desktop/mapguide-2.0.2/Common/Stylization' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/root/Desktop/mapguide-2.0.2/Common' wordt verlaten
make: *** [all-recursive] Fout 1

So there is a FDO problem. I installed FDO 3.4.0 using svn checkout http://svn.osgeo.org/fdo/tags/3.4.0/ fdo-3.4.0 (adjustment from this tutorial http://wiki.osgeo.org/wiki/Building_MapGuide_on_CentOS_5 )

The documentation tells me I've to specify the fdo location when installing mapguide. I tried to do this by ./configure --with-fdo-include= IncludeDir --with-fdo-lib= LibDir which I altered to ./configure --with-fdo-include= /usr/local/fdo-3.4.0 --with-fdo-lib= /usr/local/fdo-3.4.0/lib

What is it I'm doing wrong? Is it ok that /usr/local/fdo-3.4.0 is empty except for the map lib? the map lib does contain files.

Thanks in advance.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168



_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
zspitzer

Re: Mapguide Centos and FDO trouble isntalling

Reply Threaded More More options
Print post
Permalink
i think FDO 3.2 is the right version of FDO... 3.4 is for 2.1

On Wed, Nov 4, 2009 at 9:16 PM, Remco Houtkamp <[hidden email]> wrote:

Zac, I’m trying to install Mapguide 2.0.2

 

 

Met vriendelijke groet,
 

 
Remco Houtkamp
 
BURO HOUTKAMP
|T: 06 14 390 205 |E: [hidden email] |P:  Kweldergras 21, 1441 WP, Purmerend |

 

Van: [hidden email] [mailto:[hidden email]] Namens Zac Spitzer
Verzonden: woensdag 4 november 2009 10:36
Aan: MapGuide Users Mail List
Onderwerp: Re: [mapguide-users] Mapguide Centos and FDO trouble isntalling

 

which version of MG are you trying to build?

On Wed, Nov 4, 2009 at 8:16 PM, Remco Houtkamp <[hidden email]> wrote:


Hi list,

After being unsuccesfull trying to connect a winxp installation to postgis I switched to linux. It is really hard, because I don't know te basics. After a few days my knowledge of linux improved a little. I think I know why I can not install Mapguide to Centos5. I get this message:

In file included from Band.h:21,
                from Band.cpp:20:
Stylization.h:77:17: error: Fdo.h: No such file or directory
Stylization.h:78:33: error: FdoExpressionEngine.h: No such file or directory
Stylization.h:79:51: error: FdoExpressionEngineFunctionCollection.h: No such file or directory
Stylization.h:80:54: error: FdoExpressionEngineINonAggregateFunction.h: No such file or directory
Stylization.h:85: error: 'FDO_ACTIVELONGTRANSACTION' was not declared in this scope
Stylization.h:86: error: 'FDO_ROOTLONGTRANSACTION' was not declared in this scope
GridData.h:54: error: 'FdoString' has not been declared
LineBuffer.h:85: error: 'FdoDimensionality' has not been declared
LineBuffer.h:115: error: 'FdoDimensionality' has not been declared
LineBuffer.h:122: error: 'FdoDimensionality' does not name a type
LineBuffer.h:193: error: 'FdoDimensionality' does not name a type
LineBuffer.h:85: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:115: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:244: error: 'FdoDimensionality' has not been declared
LineBuffer.h:244: error: 'FdoDimensionality_XY' was not declared in this scope
make[2]: *** [Band.lo] Fout 1
make[2]: Map '/root/Desktop/mapguide-2.0.2/Common/Stylization' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/root/Desktop/mapguide-2.0.2/Common' wordt verlaten
make: *** [all-recursive] Fout 1

So there is a FDO problem. I installed FDO 3.4.0 using svn checkout http://svn.osgeo.org/fdo/tags/3.4.0/ fdo-3.4.0 (adjustment from this tutorial http://wiki.osgeo.org/wiki/Building_MapGuide_on_CentOS_5 )

The documentation tells me I've to specify the fdo location when installing mapguide. I tried to do this by ./configure --with-fdo-include= IncludeDir --with-fdo-lib= LibDir which I altered to ./configure --with-fdo-include= /usr/local/fdo-3.4.0 --with-fdo-lib= /usr/local/fdo-3.4.0/lib

What is it I'm doing wrong? Is it ok that /usr/local/fdo-3.4.0 is empty except for the map lib? the map lib does contain files.

Thanks in advance.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168



_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168




_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
oshan

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
In reply to this post by Kenneth Skovhede, GEOGRAF A/S
Hi Kenneth

Thanks for you reply. I'm basically trying to get a map displayed in the ajax viewer and the map I'm planning to use is a raster image.

I tried doing it using map guide maestro but I couldn't get the image displayed. I tnk its something to do with the coordinate system may be its way off the screen.

I was looking at GDAL and found this link. It kind shows how to add coordinate to raster image. I'll try that and see if it works.
http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial

By the way do you mean data files like .shp? what is a good free client I used to create such data?

Thanks


Kenneth Skovhede, GEOGRAF A/S wrote:
There is a short (incomplete) guide here that explains the procedure
from a users viewpoint:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide

If you have MapGuide Enterprise, you can get Studio for free, which has
a manual in the "Help" menu.

If you need to create data as well, you need a GIS client application,
such as Autocad Map, ArcGIS or MapInfo.
(There are free clients avalible as well)

Your question is a bit vague, so if this is an answer to another
question, can you explain your current setup?

Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:
> Hi
>
> I want to know how to create layers?
>
> Say that you have a map and you want to create layers for political
> divisions. How would you go about doing this?
>
> I ask this before but I didn't get any answer. My apologies if its a stupic
> question! Since I don't really have any good vectored based maps, is it
> possible to use a jpeg as a base image? How do I achieve this?
>
> I appreciate any help
> Thanks
>  
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
oshan

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
By the way I'm using mapguide os 2.0 with jsp extension. does this come with the GDAL plugin to handle all the raster data? I checked in my bin folder and there is no gdalplugins folder! But inside FDO I have a file called gdal14.dll. If this is not enough where do I get this full plugin from and which version. The version of the gdal14.dll is 1.4.3.0

cheers


oshan wrote:
Hi Kenneth

Thanks for you reply. I'm basically trying to get a map displayed in the ajax viewer and the map I'm planning to use is a raster image.

I tried doing it using map guide maestro but I couldn't get the image displayed. I tnk its something to do with the coordinate system may be its way off the screen.

I was looking at GDAL and found this link. It kind shows how to add coordinate to raster image. I'll try that and see if it works.
http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial

By the way do you mean data files like .shp? what is a good free client I used to create such data?

Thanks


Kenneth Skovhede, GEOGRAF A/S wrote:
There is a short (incomplete) guide here that explains the procedure
from a users viewpoint:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide

If you have MapGuide Enterprise, you can get Studio for free, which has
a manual in the "Help" menu.

If you need to create data as well, you need a GIS client application,
such as Autocad Map, ArcGIS or MapInfo.
(There are free clients avalible as well)

Your question is a bit vague, so if this is an answer to another
question, can you explain your current setup?

Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:
> Hi
>
> I want to know how to create layers?
>
> Say that you have a map and you want to create layers for political
> divisions. How would you go about doing this?
>
> I ask this before but I didn't get any answer. My apologies if its a stupic
> question! Since I don't really have any good vectored based maps, is it
> possible to use a jpeg as a base image? How do I achieve this?
>
> I appreciate any help
> Thanks
>  
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Kenneth Skovhede, GEOGRAF A/S

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Rasters are notoriously difficult to get to work.

First of, you need to run the server from the console with the CPL_DEBUG=on:
http://trac.osgeo.org/fdo/wiki/FdoGdalNotes
(See at the bottom of the page).

And you have to create the gdalplugin folder yourself, so you get the file layout
as described on FdoGdalNotes page.

Your MapDefinition coordinate system and raster coordinate system MUST match 100%.

Also look in the error log file:
C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log

For a free vector editor, try Kosmo GIS:
http://www.opengis.es/

Good luck!
Regards, Kenneth Skovhede, GEOGRAF A/S


oshan skrev:
By the way I'm using mapguide os 2.0 with jsp extension. does this come with
the GDAL plugin to handle all the raster data? I checked in my bin folder
and there is no gdalplugins folder! But inside FDO I have a file called
gdal14.dll. If this is not enough where do I get this full plugin from and
which version. The version of the gdal14.dll is 1.4.3.0

cheers 



oshan wrote:
  
Hi Kenneth 

Thanks for you reply. I'm basically trying to get a map displayed in the
ajax viewer and the map I'm planning to use is a raster image.

I tried doing it using map guide maestro but I couldn't get the image
displayed. I tnk its something to do with the coordinate system may be its
way off the screen.

I was looking at GDAL and found this link. It kind shows how to add
coordinate to raster image. I'll try that and see if it works.
http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial

By the way do you mean data files like .shp? what is a good free client I
used to create such data? 

Thanks



Kenneth Skovhede, GEOGRAF A/S wrote:
    
There is a short (incomplete) guide here that explains the procedure 
from a users viewpoint:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide

If you have MapGuide Enterprise, you can get Studio for free, which has 
a manual in the "Help" menu.

If you need to create data as well, you need a GIS client application, 
such as Autocad Map, ArcGIS or MapInfo.
(There are free clients avalible as well)

Your question is a bit vague, so if this is an answer to another 
question, can you explain your current setup?

Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:
      
Hi

I want to know how to create layers? 

Say that you have a map and you want to create layers for political
divisions. How would you go about doing this?

I ask this before but I didn't get any answer. My apologies if its a
stupic
question! Since I don't really have any good vectored based maps, is it
possible to use a jpeg as a base image? How do I achieve this?

I appreciate any help
Thanks
  
        
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


      
    

  

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Remco Houtkamp

RE: Mapguide Centos and FDO trouble isntalling

Reply Threaded More More options
Print post
Permalink
In reply to this post by zspitzer
Some javascript/style in this post has been disabled (why?)

Zac, thanks for your answer. Because of testing and limited time it takes a while to answer. You told FDO 3.2 is the one I need. Unfortunately there is no subversion service (something else I’m getting used to on this adventure ;) ) In the Centos tutorial on OSGEO 3.3.1 is used. Should this work as well with Mapguide 2.0.2.

 

 

Met vriendelijke groet,
 

 
Remco Houtkamp
 
BURO HOUTKAMP
|T: 06 14 390 205 |E: [hidden email] |P:  Kweldergras 21, 1441 WP, Purmerend |

 

Van: [hidden email] [mailto:[hidden email]] Namens Zac Spitzer
Verzonden: woensdag 4 november 2009 11:21
Aan: MapGuide Users Mail List
Onderwerp: Re: [mapguide-users] Mapguide Centos and FDO trouble isntalling

 

i think FDO 3.2 is the right version of FDO... 3.4 is for 2.1

On Wed, Nov 4, 2009 at 9:16 PM, Remco Houtkamp <[hidden email]> wrote:

Zac, I’m trying to install Mapguide 2.0.2

 

 

Met vriendelijke groet,
 

 
Remco Houtkamp
 
BURO HOUTKAMP
|T: 06 14 390 205 |E: [hidden email] |P:  Kweldergras 21, 1441 WP, Purmerend |

 

Van: [hidden email] [mailto:[hidden email]] Namens Zac Spitzer
Verzonden: woensdag 4 november 2009 10:36
Aan: MapGuide Users Mail List
Onderwerp: Re: [mapguide-users] Mapguide Centos and FDO trouble isntalling

 

which version of MG are you trying to build?

On Wed, Nov 4, 2009 at 8:16 PM, Remco Houtkamp <[hidden email]> wrote:


Hi list,

After being unsuccesfull trying to connect a winxp installation to postgis I switched to linux. It is really hard, because I don't know te basics. After a few days my knowledge of linux improved a little. I think I know why I can not install Mapguide to Centos5. I get this message:

In file included from Band.h:21,
                from Band.cpp:20:
Stylization.h:77:17: error: Fdo.h: No such file or directory
Stylization.h:78:33: error: FdoExpressionEngine.h: No such file or directory
Stylization.h:79:51: error: FdoExpressionEngineFunctionCollection.h: No such file or directory
Stylization.h:80:54: error: FdoExpressionEngineINonAggregateFunction.h: No such file or directory
Stylization.h:85: error: 'FDO_ACTIVELONGTRANSACTION' was not declared in this scope
Stylization.h:86: error: 'FDO_ROOTLONGTRANSACTION' was not declared in this scope
GridData.h:54: error: 'FdoString' has not been declared
LineBuffer.h:85: error: 'FdoDimensionality' has not been declared
LineBuffer.h:115: error: 'FdoDimensionality' has not been declared
LineBuffer.h:122: error: 'FdoDimensionality' does not name a type
LineBuffer.h:193: error: 'FdoDimensionality' does not name a type
LineBuffer.h:85: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:115: error: 'FdoDimensionality_XY' was not declared in this scope
LineBuffer.h:244: error: 'FdoDimensionality' has not been declared
LineBuffer.h:244: error: 'FdoDimensionality_XY' was not declared in this scope
make[2]: *** [Band.lo] Fout 1
make[2]: Map '/root/Desktop/mapguide-2.0.2/Common/Stylization' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/root/Desktop/mapguide-2.0.2/Common' wordt verlaten
make: *** [all-recursive] Fout 1

So there is a FDO problem. I installed FDO 3.4.0 using svn checkout http://svn.osgeo.org/fdo/tags/3.4.0/ fdo-3.4.0 (adjustment from this tutorial http://wiki.osgeo.org/wiki/Building_MapGuide_on_CentOS_5 )

The documentation tells me I've to specify the fdo location when installing mapguide. I tried to do this by ./configure --with-fdo-include= IncludeDir --with-fdo-lib= LibDir which I altered to ./configure --with-fdo-include= /usr/local/fdo-3.4.0 --with-fdo-lib= /usr/local/fdo-3.4.0/lib

What is it I'm doing wrong? Is it ok that /usr/local/fdo-3.4.0 is empty except for the map lib? the map lib does contain files.

Thanks in advance.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168



_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
zspitzer

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
In reply to this post by Kenneth Skovhede, GEOGRAF A/S
don't even bother with GDAL unless your using a 2.1 build,
it's really broken

2.1 also does raster reprojection and is more stable

z

On Thu, Nov 5, 2009 at 7:07 PM, Kenneth Skovhede, GEOGRAF A/S
<[hidden email]> wrote:

> Rasters are notoriously difficult to get to work.
>
> First of, you need to run the server from the console with the CPL_DEBUG=on:
> http://trac.osgeo.org/fdo/wiki/FdoGdalNotes
> (See at the bottom of the page).
>
> And you have to create the gdalplugin folder yourself, so you get the file
> layout
> as described on FdoGdalNotes page.
>
> Your MapDefinition coordinate system and raster coordinate system MUST match
> 100%.
>
> Also look in the error log file:
> C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log
>
> For a free vector editor, try Kosmo GIS:
> http://www.opengis.es/
>
> Good luck!
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
> oshan skrev:
>
> By the way I'm using mapguide os 2.0 with jsp extension. does this come with
> the GDAL plugin to handle all the raster data? I checked in my bin folder
> and there is no gdalplugins folder! But inside FDO I have a file called
> gdal14.dll. If this is not enough where do I get this full plugin from and
> which version. The version of the gdal14.dll is 1.4.3.0
>
> cheers
>
>
>
> oshan wrote:
>
>
> Hi Kenneth
>
> Thanks for you reply. I'm basically trying to get a map displayed in the
> ajax viewer and the map I'm planning to use is a raster image.
>
> I tried doing it using map guide maestro but I couldn't get the image
> displayed. I tnk its something to do with the coordinate system may be its
> way off the screen.
>
> I was looking at GDAL and found this link. It kind shows how to add
> coordinate to raster image. I'll try that and see if it works.
> http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
>
> By the way do you mean data files like .shp? what is a good free client I
> used to create such data?
>
> Thanks
>
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>
>
> There is a short (incomplete) guide here that explains the procedure
> from a users viewpoint:
> http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide
>
> If you have MapGuide Enterprise, you can get Studio for free, which has
> a manual in the "Help" menu.
>
> If you need to create data as well, you need a GIS client application,
> such as Autocad Map, ArcGIS or MapInfo.
> (There are free clients avalible as well)
>
> Your question is a bit vague, so if this is an answer to another
> question, can you explain your current setup?
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> oshan skrev:
>
>
> Hi
>
> I want to know how to create layers?
>
> Say that you have a map and you want to create layers for political
> divisions. How would you go about doing this?
>
> I ask this before but I didn't get any answer. My apologies if its a
> stupic
> question! Since I don't really have any good vectored based maps, is it
> possible to use a jpeg as a base image? How do I achieve this?
>
> I appreciate any help
> Thanks
>
>
>
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
>
>
>
>
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
oshan

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
In reply to this post by Kenneth Skovhede, GEOGRAF A/S
Hi Kenneth

I managed to get a student version of ArcGIS. I created a tiff and a world file after using some PNG map images. I placed the two generated files into a single folder and imported it using maestro. After defining the layers and map and setting up the extent I was able to preview it on mapguide.

I looked in the FdoGdalNotes for the plugin (http://home.gdal.org/dl/gdal14_vc8/) but the links doesn't work. In any case I'm able to view the images so maybe all the plugins are in place in my installation!

I wanted to add a layer on top of this map (by the way this a map of Queensland, Australia). This new layer is going to be some rural region within the state. I cut out this region from the original map (base map) and created a separate image with just that rural area surrounded with transparent background so that if I superimpose them it will appear at the right location on the base map. I created a new layer for this image using the same procedure I describe before. Only problem is the tiff format didn't recognise transparency and made the background white. So when I place the small region above the state only thing I can see is that!

So now I'm wondering...: if my application is not going to handle any geospatial vector data, am I making it harder for my self by using MG os?? I mean I would be able to use normal HTML,css,js, and jsp to do this. I could use the z index in css to put bunch of images together and use js to turn them on and off. But of course I will have to do the zooming, paning, context menus, toolbars etc from scratch so I don't know if I will hit the brick wall somewhere down the track!

Kenneth Skovhede, GEOGRAF A/S wrote:
Rasters are notoriously difficult to get to work.

First of, you need to run the server from the console with the CPL_DEBUG=on:
http://trac.osgeo.org/fdo/wiki/FdoGdalNotes
(See at the bottom of the page).

And you have to create the gdalplugin folder yourself, so you get the
file layout
as described on FdoGdalNotes page.

Your MapDefinition coordinate system and raster coordinate system MUST
match 100%.

Also look in the error log file:
C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log

For a free vector editor, try Kosmo GIS:
http://www.opengis.es/

Good luck!

Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:
> By the way I'm using mapguide os 2.0 with jsp extension. does this come with
> the GDAL plugin to handle all the raster data? I checked in my bin folder
> and there is no gdalplugins folder! But inside FDO I have a file called
> gdal14.dll. If this is not enough where do I get this full plugin from and
> which version. The version of the gdal14.dll is 1.4.3.0
>
> cheers
>
>
>
> oshan wrote:
>  
>> Hi Kenneth
>>
>> Thanks for you reply. I'm basically trying to get a map displayed in the
>> ajax viewer and the map I'm planning to use is a raster image.
>>
>> I tried doing it using map guide maestro but I couldn't get the image
>> displayed. I tnk its something to do with the coordinate system may be its
>> way off the screen.
>>
>> I was looking at GDAL and found this link. It kind shows how to add
>> coordinate to raster image. I'll try that and see if it works.
>> http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
>>
>> By the way do you mean data files like .shp? what is a good free client I
>> used to create such data?
>>
>> Thanks
>>
>>
>>
>> Kenneth Skovhede, GEOGRAF A/S wrote:
>>    
>>> There is a short (incomplete) guide here that explains the procedure
>>> from a users viewpoint:
>>> http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide
>>>
>>> If you have MapGuide Enterprise, you can get Studio for free, which has
>>> a manual in the "Help" menu.
>>>
>>> If you need to create data as well, you need a GIS client application,
>>> such as Autocad Map, ArcGIS or MapInfo.
>>> (There are free clients avalible as well)
>>>
>>> Your question is a bit vague, so if this is an answer to another
>>> question, can you explain your current setup?
>>>
>>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>>
>>>
>>>
>>> oshan skrev:
>>>      
>>>> Hi
>>>>
>>>> I want to know how to create layers?
>>>>
>>>> Say that you have a map and you want to create layers for political
>>>> divisions. How would you go about doing this?
>>>>
>>>> I ask this before but I didn't get any answer. My apologies if its a
>>>> stupic
>>>> question! Since I don't really have any good vectored based maps, is it
>>>> possible to use a jpeg as a base image? How do I achieve this?
>>>>
>>>> I appreciate any help
>>>> 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
Kenneth Skovhede, GEOGRAF A/S

Re: Creating and adding layers

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
MapGuide has many great geospatial operations, but if you
are merely interrested in displaying a raster based map,
perhaps you can do it, using only OpenLayers:
http://openlayers.org

I know that there are some simple Geo servers that specialize in
serving tiles from TIFF, rather than the full function package that MapGuide has.

I can't remember the name of the server they usually mention,
but you can ask on the list, or search the archives.


Regards, Kenneth Skovhede, GEOGRAF A/S


oshan skrev:
Hi Kenneth 

I managed to get a student version of ArcGIS. I created a tiff and a world
file after using some PNG map images. I placed the two generated files into
a single folder and imported it using maestro. After defining the layers and
map and setting up the extent I was able to preview it on mapguide. 

I looked in the FdoGdalNotes for the plugin
(http://home.gdal.org/dl/gdal14_vc8/) but the links doesn't work. In any
case I'm able to view the images so maybe all the plugins are in place in my
installation!

I wanted to add a layer on top of this map (by the way this a map of
Queensland, Australia). This new layer is going to be some rural region
within the state. I cut out this region from the original map (base map) and
created a separate image with just that rural area surrounded with
transparent background so that if I superimpose them it will appear at the
right location on the base map. I created a new layer for this image using
the same procedure I describe before. Only problem is the tiff format didn't
recognise transparency and made the background white. So when I place the
small region above the state only thing I can see is that!

So now I'm wondering...: if my application is not going to handle any
geospatial vector data, am I making it harder for my self by using MG os?? I
mean I would be able to use normal HTML,css,js, and jsp to do this. I could
use the z index in css to put bunch of images together and use js to turn
them on and off. But of course I will have to do the zooming, paning,
context menus, toolbars etc from scratch so I don't know if I will hit the
brick wall somewhere down the track! 


Kenneth Skovhede, GEOGRAF A/S wrote:
  
Rasters are notoriously difficult to get to work.

First of, you need to run the server from the console with the
CPL_DEBUG=on:
http://trac.osgeo.org/fdo/wiki/FdoGdalNotes
(See at the bottom of the page).

And you have to create the gdalplugin folder yourself, so you get the 
file layout
as described on FdoGdalNotes page.

Your MapDefinition coordinate system and raster coordinate system MUST 
match 100%.

Also look in the error log file:
C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log

For a free vector editor, try Kosmo GIS:
http://www.opengis.es/

Good luck!

Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:
    
By the way I'm using mapguide os 2.0 with jsp extension. does this come
with
the GDAL plugin to handle all the raster data? I checked in my bin folder
and there is no gdalplugins folder! But inside FDO I have a file called
gdal14.dll. If this is not enough where do I get this full plugin from
and
which version. The version of the gdal14.dll is 1.4.3.0

cheers 



oshan wrote:
  
      
Hi Kenneth 

Thanks for you reply. I'm basically trying to get a map displayed in the
ajax viewer and the map I'm planning to use is a raster image.

I tried doing it using map guide maestro but I couldn't get the image
displayed. I tnk its something to do with the coordinate system may be
its
way off the screen.

I was looking at GDAL and found this link. It kind shows how to add
coordinate to raster image. I'll try that and see if it works.
http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial

By the way do you mean data files like .shp? what is a good free client
I
used to create such data? 

Thanks



Kenneth Skovhede, GEOGRAF A/S wrote:
    
        
There is a short (incomplete) guide here that explains the procedure 
from a users viewpoint:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide

If you have MapGuide Enterprise, you can get Studio for free, which has 
a manual in the "Help" menu.

If you need to create data as well, you need a GIS client application, 
such as Autocad Map, ArcGIS or MapInfo.
(There are free clients avalible as well)

Your question is a bit vague, so if this is an answer to another 
question, can you explain your current setup?

Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:
      
          
Hi

I want to know how to create layers? 

Say that you have a map and you want to create layers for political
divisions. How would you go about doing this?

I ask this before but I didn't get any answer. My apologies if its a
stupic
question! Since I don't really have any good vectored based maps, is
it
possible to use a jpeg as a base image? How do I achieve this?

I appreciate any help
Thanks
  
        
            
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


      
          
    
        
  
      
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


    

  

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users