Re: [mapguide-users] Refresh map only

2010-08-13 Thread Jason Birch
Sorry, not really familiar with the AJAX viewer, and not at a PC where
I can dig into the template files.

...but if the context menu is doing it, I wouldn't be surprised if
there is some way to reach in and address that functionality,
bypassing the Viewer API (if it doesn't have a non-destructive
refresh).


On 2010-08-13, Warren Medernach  wrote:
> Hey Jason,
>
> Thanks!  I was pretty sure I did rtfm and that's how I got to where I did...
>  But I digress...  ;-)
>
> I'm using the basic AJAX viewer in this instance on MGE.
>
> In the Viewer API (see I did rtfm :-) there is a Main Frame Refresh and a
> Map Frame Refresh, but when I call the Map Frame Refresh the whole map
> refreshes and goes back to the initial zoom.  I guess I just expected it to
> behave like the context menu Refresh.
>
> I wonder if it's because I'm wrapping this in the 'window.setInterval' call?
> Do I maybe need to setup my own timer to refresh just the map frame?
>
> Warren M
>
>
> On Fri, Aug 13, 2010 at 1:22 AM, Jason Birch  wrote:
>
>> Hey Warren,
>>
>> What version of MapGuide are you using, and which framework (AJAX or
>> Fusion)?
>>
>> Jason
>>
>> On 2010-08-11, Warren Medernach  wrote:
>> > Is there a mechanism to refresh just the map and not the whole frame?
>> > I want to refresh the map, but retain the current view/zoom, etc.
>> >
>> > Maybe I'm missing something, but calling:
>> >
>> > window.setInterval('GetMapFrame().Refresh()', 2000);
>> >
>> >
>> > Doesn't seem any different than refreshing the entire web page?
>> >
>> > Warren M
>> >
>> ___
>> 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] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Kori Maleski
Ahh...  If I set the SQL login to default to any other schema than dbo, then
ALL schemas will display features from Lat Long.

If it is defaulted to dbo, then only dbo will display.


Please correct me if anyone gets different results.


Cheers,

Kori Maleski





On Fri, Aug 13, 2010 at 4:51 PM, Kori Maleski wrote:

> The ODBC SQL login has the same rights, and the schemas are in the same
> database.
>
> The work around is to create a dbo.view of the other schema.table.
>
>
>
> Cheers,
>
> Kori Maleski
>
>
>
> On Fri, Aug 13, 2010 at 4:33 PM, Dave Wilson wrote:
>
>>  When you say it doesn't work under another schema does your ODBC login
>> have rights to the other schema and some of the system tables? I'm not sure
>> exactly what the rights need to be. This is a question for the FDO users
>> list.
>>
>>
>>
>> I suspect it's a permissions issue.
>>
>>
>>
>> Dave
>>
>>
>>
>> *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
>> mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
>> *Sent:* Friday, August 13, 2010 3:57 PM
>> *To:* MapGuide Users Mail List
>> *Subject:* Re: [mapguide-users] Problem with ODBC and Point Feature
>> Display via Lat Long
>>
>>
>>
>> Thanks Warren!
>>
>> So much for organizing by schema.  Can't wait to get to switch to MS SQL
>> 2008 for spatial.
>>
>>
>> Cheers,
>>
>>
>> Kori Maleski
>>
>> On Fri, Aug 13, 2010 at 3:50 PM, Warren Medernach 
>> wrote:
>>
>> Hey Kori,
>>
>> While this isn't an 'identical' test, I just tested this in MGE 2011 and
>> can confirm the same results.
>>
>> The points DO NOT display under a different schema.
>>
>>
>> Warren M
>>
>> On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski 
>> wrote:
>>
>>
>>
>> MapGuide 2.1.0.4283
>> SQL Server 2005
>> ODBC FDO 3.4
>>
>>
>> I can create a Feature from the Lat Long columns of a table under the dbo
>> schema, but if I use another schema the feature does not display in the map.
>>
>>
>> Anybody else encounter this?
>>
>>
>>
>> Cheers,
>>
>>
>> Kori Maleski
>>
>>   ___
>> 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
>>
>>
>>
>> ___
>> 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] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Kori Maleski
The ODBC SQL login has the same rights, and the schemas are in the same
database.

The work around is to create a dbo.view of the other schema.table.



Cheers,

Kori Maleski


On Fri, Aug 13, 2010 at 4:33 PM, Dave Wilson wrote:

>  When you say it doesn't work under another schema does your ODBC login
> have rights to the other schema and some of the system tables? I'm not sure
> exactly what the rights need to be. This is a question for the FDO users
> list.
>
>
>
> I suspect it's a permissions issue.
>
>
>
> Dave
>
>
>
> *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
> mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Kori Maleski
> *Sent:* Friday, August 13, 2010 3:57 PM
> *To:* MapGuide Users Mail List
> *Subject:* Re: [mapguide-users] Problem with ODBC and Point Feature
> Display via Lat Long
>
>
>
> Thanks Warren!
>
> So much for organizing by schema.  Can't wait to get to switch to MS SQL
> 2008 for spatial.
>
>
> Cheers,
>
>
> Kori Maleski
>
> On Fri, Aug 13, 2010 at 3:50 PM, Warren Medernach 
> wrote:
>
> Hey Kori,
>
> While this isn't an 'identical' test, I just tested this in MGE 2011 and
> can confirm the same results.
>
> The points DO NOT display under a different schema.
>
>
> Warren M
>
> On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski 
> wrote:
>
>
>
> MapGuide 2.1.0.4283
> SQL Server 2005
> ODBC FDO 3.4
>
>
> I can create a Feature from the Lat Long columns of a table under the dbo
> schema, but if I use another schema the feature does not display in the map.
>
>
> Anybody else encounter this?
>
>
>
> Cheers,
>
>
> Kori Maleski
>
>   ___
> 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
>
>
>
> ___
> 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] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Dave Wilson
When you say it doesn't work under another schema does your ODBC login have 
rights to the other schema and some of the system tables? I'm not sure exactly 
what the rights need to be. This is a question for the FDO users list.

I suspect it's a permissions issue.

Dave

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kori Maleski
Sent: Friday, August 13, 2010 3:57 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Problem with ODBC and Point Feature Display via 
Lat Long

Thanks Warren!

So much for organizing by schema.  Can't wait to get to switch to MS SQL 2008 
for spatial.


Cheers,


Kori Maleski
On Fri, Aug 13, 2010 at 3:50 PM, Warren Medernach 
mailto:wmedern...@gmail.com>> wrote:
Hey Kori,
While this isn't an 'identical' test, I just tested this in MGE 2011 and can 
confirm the same results.
The points DO NOT display under a different schema.

Warren M
On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski 
mailto:kori.male...@gmail.com>> wrote:


MapGuide 2.1.0.4283
SQL Server 2005
ODBC FDO 3.4


I can create a Feature from the Lat Long columns of a table under the dbo 
schema, but if I use another schema the feature does not display in the map.


Anybody else encounter this?



Cheers,


Kori Maleski

___
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

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


Re: [mapguide-users] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Kori Maleski
Thanks Warren!

So much for organizing by schema.  Can't wait to get to switch to MS SQL
2008 for spatial.


Cheers,


Kori Maleski

On Fri, Aug 13, 2010 at 3:50 PM, Warren Medernach wrote:

> Hey Kori,
> While this isn't an 'identical' test, I just tested this in MGE 2011 and
> can confirm the same results.
> The points DO NOT display under a different schema.
>
> Warren M
>
> On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski wrote:
>
>>
>>
>> MapGuide 2.1.0.4283
>> SQL Server 2005
>> ODBC FDO 3.4
>>
>>
>> I can create a Feature from the Lat Long columns of a table under the dbo
>> schema, but if I use another schema the feature does not display in the map.
>>
>>
>> Anybody else encounter this?
>>
>>
>>
>> Cheers,
>>
>>
>> Kori Maleski
>>
>>
>> ___
>> 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
>
>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Warren Medernach
Hey Kori,
While this isn't an 'identical' test, I just tested this in MGE 2011 and can
confirm the same results.
The points DO NOT display under a different schema.

Warren M

On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski wrote:

>
>
> MapGuide 2.1.0.4283
> SQL Server 2005
> ODBC FDO 3.4
>
>
> I can create a Feature from the Lat Long columns of a table under the dbo
> schema, but if I use another schema the feature does not display in the map.
>
>
> Anybody else encounter this?
>
>
>
> Cheers,
>
>
> Kori Maleski
>
>
> ___
> 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


[mapguide-users] Problem with ODBC and Point Feature Display via Lat Long

2010-08-13 Thread Kori Maleski
MapGuide 2.1.0.4283
SQL Server 2005
ODBC FDO 3.4


I can create a Feature from the Lat Long columns of a table under the dbo
schema, but if I use another schema the feature does not display in the map.


Anybody else encounter this?



Cheers,


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


Re: [mapguide-users] Constants for "MgPropertyDefinition" . "GetPropertyType()" ?

2010-08-13 Thread Haris Kurtagic
constants as defined in c++

class MgFeaturePropertyType
{
PUBLISHED_API:

/
/// \brief
/// Type name for a data property definition. See
/// MgDataPropertyDefinition.
static const int DataProperty   =  100;


/// \brief
/// Type name for an object property definition. See
/// MgObjectPropertyDefinition.
static const int ObjectProperty =  101;

//
/// \brief
/// Type name for a geometric property definition. See
/// MgGeometricPropertyDefinition.
static const int GeometricProperty  =  102;

///
/// \brief
/// Type name for an association property definition.
///
/// \remarks
/// Currently there is no class for an association property
/// definition.
static const int AssociationProperty=  103;

///
/// Type name for a raster property definition. See
/// MgRasterPropertyDefinition.
static const int RasterProperty =  104;
};

Haris


On Fri, Aug 13, 2010 at 5:25 PM, Crispin_at_1Spatial
 wrote:
>
> Hi,
>
> Can anyone help me find the declarations for the datatypes from a
> "MgPropertyDefinition" . "GetPropertyType()" ?
>
> I have worked out 100 are data properties and 102 are data properties but
> would like some constants.
> In pure FDO they are called "Schema.PropertyType.PropertyType_DataProperty"
>
> It would make the code sample below better...
>
>  - Thanks, Crispin
>
>
>                        MgPropertyDefinitionCollection colProperty = 
> classDef.GetProperties();
>                        foreach (MgPropertyDefinition propThis in colProperty)
>                        {
>                                // handle geometric and data properties only
>                                int typeofPropertyType = 
> propThis.GetPropertyType();
>
>                                // where is the data type constant for this?
>                                if (102 == typeofPropertyType)
>                                {
>                                        MgGeometricPropertyDefinition geomProp 
> =
> (MgGeometricPropertyDefinition)propThis;
>                                        ...
>                                }
>
>                                // where is the data type constant for this?
>                                if (100 == typeofPropertyType)
>                                {
>
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Constants-for-MgPropertyDefinition-GetPropertyType-tp5420442p5420442.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


[mapguide-users] GDAL problems...

2010-08-13 Thread Andrew DeMerchant
Title: GEMTEC Email Signature


  
  
Sorry to add yet another GDAL question.but for the life of me, I
can't seem to get any new images working in MGOS (tried 2.0 and
2.2). If I debug and run the service interactively, I get a "(3656)
An exception occurred in FDO component.
Only MOSAIC(), CLIP() and RESAMPLE() are supported." messageI've
seen that before, and had thought that it was coord related - but I
can't even see a layer preview, and have tried the default coord
system, as well the the correct one for my map. Can anyone offer
some additional debug options here? My old rasters seem to still
work - I just can't seem to add any new ones...
-- 
  
  
  
  
   
 Andrew DeMerchant
  
  tel: 506.453.1025  /  toll-free: 1.877.243.6832
  fax: 506.453.9470 
  

  

This e-mail message (including attachments, if any) is confidential and may be 
privileged. Any unauthorized distribution or disclosure is prohibited.  
Disclosure to anyone other than the intended recipient does not constitute 
waiver of privilege.  If you have received this e-mail in error, please notify 
us and delete it and any attachments from your computer system and records.
--
Ce courriel (y compris  les pièces jointes) est confidentiel et peut être 
privilégié.  La distribution ou la divulgation non autorisée de ce courriel est 
interdite.  Sa divulgation à toute personne autre que son destinataire ne 
constitue pas une renonciation de privilège.  Si vous avez reçu ce courriel par 
erreur, veuillez nous aviser et éliminer ce courriel, ainsi que les pièces 
jointes, de votre système informatique et de vos dossiers.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Constants for "MgPropertyDefinition" . "GetPropertyType()" ?

2010-08-13 Thread Crispin_at_1Spatial

Hi,

Can anyone help me find the declarations for the datatypes from a
"MgPropertyDefinition" . "GetPropertyType()" ?

I have worked out 100 are data properties and 102 are data properties but
would like some constants.
In pure FDO they are called "Schema.PropertyType.PropertyType_DataProperty"

It would make the code sample below better...

 - Thanks, Crispin


MgPropertyDefinitionCollection colProperty = 
classDef.GetProperties();
foreach (MgPropertyDefinition propThis in colProperty)
{
// handle geometric and data properties only
int typeofPropertyType = 
propThis.GetPropertyType();

// where is the data type constant for this?
if (102 == typeofPropertyType)
{
MgGeometricPropertyDefinition geomProp =
(MgGeometricPropertyDefinition)propThis;
...
}

// where is the data type constant for this?
if (100 == typeofPropertyType)
{

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Constants-for-MgPropertyDefinition-GetPropertyType-tp5420442p5420442.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] Refresh map only

2010-08-13 Thread Warren Medernach
Hey Jason,

Thanks!  I was pretty sure I did rtfm and that's how I got to where I did...
 But I digress...  ;-)

I'm using the basic AJAX viewer in this instance on MGE.

In the Viewer API (see I did rtfm :-) there is a Main Frame Refresh and a
Map Frame Refresh, but when I call the Map Frame Refresh the whole map
refreshes and goes back to the initial zoom.  I guess I just expected it to
behave like the context menu Refresh.

I wonder if it's because I'm wrapping this in the 'window.setInterval' call?
Do I maybe need to setup my own timer to refresh just the map frame?

Warren M


On Fri, Aug 13, 2010 at 1:22 AM, Jason Birch  wrote:

> Hey Warren,
>
> What version of MapGuide are you using, and which framework (AJAX or
> Fusion)?
>
> Jason
>
> On 2010-08-11, Warren Medernach  wrote:
> > Is there a mechanism to refresh just the map and not the whole frame?
> > I want to refresh the map, but retain the current view/zoom, etc.
> >
> > Maybe I'm missing something, but calling:
> >
> > window.setInterval('GetMapFrame().Refresh()', 2000);
> >
> >
> > Doesn't seem any different than refreshing the entire web page?
> >
> > Warren M
> >
> ___
> 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


[mapguide-users] Re: selection problem using in mapguide using oracle10g

2010-08-13 Thread Crispin_at_1Spatial

It will indeed "relate" - Haris (Mr KingOracle) has submitted changes to for
a version 0.8.20 to FDO and usually updates his website here with the latest
updates: http://www.sl-king.com/fdooracle/fdooracle.html

 Crispin

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/selection-problem-using-in-mapguide-using-oracle10g-tp5379608p5419112.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] Refresh map only

2010-08-13 Thread Jason Birch
Hey Warren,

What version of MapGuide are you using, and which framework (AJAX or Fusion)?

Jason

On 2010-08-11, Warren Medernach  wrote:
> Is there a mechanism to refresh just the map and not the whole frame?
> I want to refresh the map, but retain the current view/zoom, etc.
>
> Maybe I'm missing something, but calling:
>
> window.setInterval('GetMapFrame().Refresh()', 2000);
>
>
> Doesn't seem any different than refreshing the entire web page?
>
> Warren M
>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users