[mapguide-users] Properties Value

staniz ustazin at yahoo.com
Fri Feb 20 22:09:59 EST 2009


Sorry, I didn't response this forum for several days, I have to ignore this
problem for a while and move to another part. Thank for all information. I
will try to solve my problem by following the latest instruction. 
Regards,
Staniz.




Jackie Ng wrote:
> 
> Please note two things:
> 
> 1. You need to click "Apply Schema" to actually commit the changes.
> 2. Applying a schema containing modified properties is not guaranteed to
> succeed. 
> 
> In case of 2. not succeeding you can open the sdf in a Data Preview,
> include all properties except the double property. In its place, add a
> computed property with the expression: ToInt32(mydoubleproperty)
> 
> Run that query and save the result to a new SDF. If you're familiar with
> SQL, it is the equivalent of doing: SELECT * INTO [newtable] FROM
> [oldtable]
> 
> - Jackie
> 
> 
> Ivan Milicevic wrote:
>> 
>> Staniz,
>> 
>>  
>> 
>> Here is instructions:
>> 
>>  
>> 
>> 1. Go to http://code.google.com/p/fdotoolbox/downloads/list and download
>> last version of thisexcellent piece of software made by Jackie.
>> 
>> 2. run it and in project explorer: new->connect to sdf
>> 
>> 3. Pick your file
>> 
>> 4. The connectionshould be added in object explorer
>> 
>> 5. Right clockon it and chose "edit schema"
>> 
>> 6. Pick your population class and on right side of program (schema
>> designer) change datatype of class
>> 
>>  
>> 
>> Here is screenshot.
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>> -----Original Message-----
>> From: mapguide-users-bounces at lists.osgeo.org
>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of staniz
>> Sent: Thursday, February 19, 2009 6:50 AM
>> To: mapguide-users at lists.osgeo.org
>> Subject: Re: [mapguide-users] Properties Value
>> 
>>  
>> 
>>  
>> 
>> it's ok, I will wait for the solution.
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>> staniz wrote:
>> 
>>> 
>> 
>>> 
>> 
>>> I am using MGE and MG Studio 2008 and have layer and sdf file as
>> polygon
>> 
>>> feature type. In my table there is one field, a Property Name =
>> 
>>> "Population" and  Property Type = "double", I checked/selected this
>> 
>>> property in "Properties displayed in the viewer" check box. when I
>> select
>> 
>>> the polygon in the browser, then in the Properties frame appears 
>> 
>>> Name                 Value
>> 
>>> 1. Population       454.000000 (with 6 additional zeros), 
>> 
>>> Actually the value for population is 454. How to fix and remove this 
>> 
>>> additional 6 zeros?
>> 
>>> 
>> 
>>> thank for help.
>> 
>>> staniz
>> 
>>> 
>> 
>>> 
>> 
>>  
>> 
>> -- 
>> 
>> View this message in context:
>> http://n2.nabble.com/Properties-Value-tp2341900p2351399.html
>> 
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> 
>>  
>> 
>> _______________________________________________
>> 
>> mapguide-users mailing list
>> 
>> mapguide-users at lists.osgeo.org
>> 
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> 
>> 
>>  
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> 
>> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Properties-Value-tp2341900p2362491.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list