MAESTRO and FDO

6 Messages Forum Options Options
Embed this topic
Permalink
Edmondo Elisei
MAESTRO and FDO
Reply Threaded MoreMore options
Print post
Permalink
Dear All,

I have a .shp with parcels. I connected this file in MPG MAESTRO by FDO (unmanaged file... test connection works fine)
and added the source to a layer, added the layer to a new map, made new layout.

My browser doesn't show the map.

Trying to add feature to display (area for example) MAESTRO returns an error,
But it seems the shape is correct: I opened the file in ARCGIS and it contains areas and other metadata.

I seen Seboyang data examples (there are only .sdf format) and the GEOMETRY field contains "SHPGEOMETRY" instead in with my shape
the same field contains "GEOMETRY"

Someone can explain me the correct way to add a shape?

Sorry for my questions (and for my english), but I started with WEBGIS just few days ago.

Thanks

E.

Edmondo Elisei
Re: MAESTRO and FDO
Reply Threaded MoreMore options
Print post
Permalink
Edmondo wrote:
Dear All,

I have a .shp with parcels. I connected this file in MPG MAESTRO by FDO (unmanaged file... test connection works fine)
and added the source to a layer, added the layer to a new map, made new layout.

My browser doesn't show the map.

Trying to add feature to display (area for example) MAESTRO returns an error,
But it seems the shape is correct: I opened the file in ARCGIS and it contains areas and other metadata.

I seen Seboyang data examples (there are only .sdf format) and the GEOMETRY field contains "SHPGEOMETRY" instead in with my shape
the same field contains "GEOMETRY"

Someone can explain me the correct way to add a shape?

Sorry for my questions (and for my english), but I started with WEBGIS just few days ago.

Thanks

E.
Kenneth Skovhede, GEOGRAF A/S
Re: MAESTRO and FDO
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Edmondo Elisei
Responses are inline.

Regards, Kenneth Skovhede, GEOGRAF A/S



Edmondo skrev:
> Dear All,
>
> I have a .shp with parcels. I connected this file in MPG MAESTRO by FDO
> (unmanaged file... test connection works fine)
> and added the source to a layer, added the layer to a new map, made new
> layout.
>
> My browser doesn't show the map.
>  
To test if it is a problem with Maestro, you can press the "Preview"
button when you have the feature source open.
In the browser, click "Display features". If the data shows, its likely
a Maestro problem.
> Trying to add feature to display (area for example) MAESTRO returns an
> error,
> But it seems the shape is correct: I opened the file in ARCGIS and it
> contains areas and other metadata.
>  
What are the exact steps you took to produce the error?
And what is the exact error message?
Does the Shape filename have a space or other non-standard character?
> I seen Seboyang data examples (there are only .sdf format) and the GEOMETRY
> field contains "SHPGEOMETRY" instead in with my shape
> the same field contains "GEOMETRY"
>
>  
A feature source could in theory have more than one geometry column, or
perhaps both geometry and raster data.
Since both SHP and SDF are file based, the name does not mean much, and
the people building the two providers
gave the geometry column different names. In other words, it's ok for
them to be different.
> Someone can explain me the correct way to add a shape?
>
> Sorry for my questions (and for my english), but I started with WEBGIS just
> few days ago.
>
>  
No need to apologize, this list is created so people can ask questions.
> Thanks
>
> E.
>
>
>  
_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Kenneth Skovhede, GEOGRAF A/S
Re: MAESTRO and FDO
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Edmondo Elisei
Some javascript/style in this post has been disabled (why?)
What version of Maestro are you using (Click Help -> About)?

I have just tried reproducing in 1.0.8.27399 and I have no problems creating line styles.
You should be able to click the green plus sign, and then alter the line display style.
Regards, Kenneth Skovhede, GEOGRAF A/S


Edmondo skrev:
Edmondo wrote:
  
Dear All,

I have a .shp with parcels. I connected this file in MPG MAESTRO by FDO
(unmanaged file... test connection works fine) 
and added the source to a layer, added the layer to a new map, made new
layout.

My browser doesn't show the map.

Trying to add feature to display (area for example) MAESTRO returns an
error,
But it seems the shape is correct: I opened the file in ARCGIS and it
contains areas and other metadata.

I seen Seboyang data examples (there are only .sdf format) and the
GEOMETRY field contains "SHPGEOMETRY" instead in with my shape 
the same field contains "GEOMETRY"

Someone can explain me the correct way to add a shape?

Sorry for my questions (and for my english), but I started with WEBGIS
just few days ago.

Thanks

E.



    
http://www.nabble.com/file/p18525187/error.jpg 
  

_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Edmondo Elisei
Re: MAESTRO and FDO
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Kenneth Skovhede, GEOGRAF A/S
Kenneth Skovhede, GEOGRAF A/S wrote:
>Edmondo skrev:
> Dear All,
> ...
> Trying to add feature to display (area for example) MAESTRO returns an
> error,
> But it seems the shape is correct: I opened the file in ARCGIS and it
> contains areas and other metadata.
>  
What are the exact steps you took to produce the error?
And what is the exact error message?
Does the Shape filename have a space or other non-standard character?
1) DATACONNECTION with FDO SHP PROVIDER
  1.1 - In Custom Editor - Unmanaged (file on the server) => files's path   (%MG_DATA_PATH_ALIAS[quadro]%qu_10u33.shp);
  1.2 - Save source in the data source folder;

2) LAYER CREATION
  2.1 - FEATURE RESOURCE to a shape's source;
  2.2 - set new layer style: I checked "displays lines"
  2.3 - Save => It returns msg error attached:
  2.3 - I checked "displays areas"
  2.4 - Save => It returns another msg error: "an error occured while saving: Object referenced set
      to  an instance of an object"
Kenneth Skovhede, GEOGRAF A/S
Re: MAESTRO and FDO
Reply Threaded MoreMore options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Ok, I can reproduce now.

It is an error in Maestro, I have logged this ticket for it:
http://trac.osgeo.org/mapguide/ticket/636

When you enable "lines", you must also add a line display style.
To do this, click the green "+" sign.
Then double click the "line style" box, and set up a color and line width.

You can now save the layer.

I realize that this is not as obvious as I thought.
I have filed an enhancement ticket for it:
http://trac.osgeo.org/mapguide/ticket/637
Regards, Kenneth Skovhede, GEOGRAF A/S


Edmondo skrev:
Kenneth Skovhede, GEOGRAF A/S wrote:
  
    
Edmondo skrev:
Dear All,
... 
Trying to add feature to display (area for example) MAESTRO returns an
error,
But it seems the shape is correct: I opened the file in ARCGIS and it
contains areas and other metadata.
  
      
What are the exact steps you took to produce the error?
And what is the exact error message?
Does the Shape filename have a space or other non-standard character?

    

1) DATACONNECTION with FDO SHP PROVIDER
  1.1 - In Custom Editor - Unmanaged (file on the server) => files's path  
(%MG_DATA_PATH_ALIAS[quadro]%qu_10u33.shp);
  1.2 - Save source in the data source folder;

2) LAYER CREATION
  2.1 - FEATURE RESOURCE to a shape's source;
  2.2 - set new layer style: I checked "displays lines"
  2.3 - Save => It returns msg error attached:
  2.3 - I checked "displays areas"
  2.4 - Save => It returns another msg error: "an error occured while
saving: Object referenced set 
      to  an instance of an object"
http://www.nabble.com/file/p18526140/error%2Bareas.jpg 
http://www.nabble.com/file/p18526140/lines.jpg 
  

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