# Projection

**URL:** <https://community.thinkgeo.com/t/projection/7309>\
**Category:** WMS Server\
**Created:** [September 7, 2010, 4:03am UTC](https://community.thinkgeo.com/t/projection/7309 "2010-09-07T04:03:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 7, 2010, 4:03am UTC](https://community.thinkgeo.com/t/projection/7309/1 "2010-09-07T04:03:00Z")

</div>

Hi&nbsp;everybody

I&nbsp;have&nbsp;a&nbsp;shape&nbsp;file&nbsp;with&nbsp;the&nbsp;following&nbsp;projection;&nbsp;WSG&nbsp;84&nbsp;zone&nbsp;37&nbsp;S.&nbsp;Can&nbsp;anybody&nbsp;help&nbsp;me&nbsp;with&nbsp;how&nbsp;to&nbsp;specify&nbsp;this&nbsp;projection&nbsp;on&nbsp;the

Best&nbsp;Regards,

Vincent

&nbsp;

GetProjectionsCore()&nbsp;of&nbsp;my&nbsp;plugin?

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 7, 2010, 4:30am UTC](https://community.thinkgeo.com/t/projection/7309/2 "2010-09-07T04:30:18Z")

</div>

Hi,&nbsp;Vincent

I&nbsp;guess&nbsp;that&nbsp;you&nbsp;mean&nbsp;“WGS&nbsp;84&nbsp;/&nbsp;UTM&nbsp;zone&nbsp;37S”.&nbsp;I&nbsp;have&nbsp;checked&nbsp;that,&nbsp;its&nbsp;prj4&nbsp;string&nbsp;is&nbsp;“+proj=utm&nbsp;+zone=37&nbsp;+south&nbsp;+ellps=WGS84&nbsp;+datum=WGS84&nbsp;+units=m&nbsp;+no\_defs”&nbsp;and&nbsp;the&nbsp;CRS&nbsp;number&nbsp;is&nbsp;32737,&nbsp;so&nbsp;that&nbsp;you&nbsp;need&nbsp;to&nbsp;add&nbsp;“EPSG:&nbsp;32737”&nbsp;to&nbsp;GetProjectionsCore&nbsp;method,&nbsp;like&nbsp;the&nbsp;codes&nbsp;below:  
protected&nbsp;override&nbsp;Collection\<string\>&nbsp;GetProjectionsCore()  
{  
&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;new&nbsp;Collection\<string\>&nbsp;{&nbsp;"EPSG:32737"&nbsp;};  
}  
If&nbsp;you&nbsp;have&nbsp;additional&nbsp;questions,&nbsp;please&nbsp;let&nbsp;us&nbsp;know.  
Thanks,  
Khalil

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 7, 2010, 10:14pm UTC](https://community.thinkgeo.com/t/projection/7309/3 "2010-09-07T22:14:37Z")

</div>

Hi&nbsp;Khalil

Thank&nbsp;you&nbsp;for&nbsp;the&nbsp;reply.&nbsp;I&nbsp;have&nbsp;added&nbsp;it&nbsp;to&nbsp;GetProjectionCore(),&nbsp;&nbsp;but&nbsp;this&nbsp;time&nbsp;it&nbsp;is&nbsp;returning&nbsp;a&nbsp;blunk&nbsp;map&nbsp;with&nbsp;a&nbsp;watermark&nbsp;saying&nbsp;"we&nbsp;don't&nbsp;support&nbsp;EPSG:4326"

Best&nbsp;Regards,

Vincent

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 8, 2010, 4:07am UTC](https://community.thinkgeo.com/t/projection/7309/4 "2010-09-08T04:07:41Z")

</div>

Hi,&nbsp;Vincent

If&nbsp;you&nbsp;need&nbsp;to&nbsp;use&nbsp;another&nbsp;projection&nbsp;on&nbsp;the&nbsp;server-side,&nbsp;and&nbsp;you&nbsp;need&nbsp;to&nbsp;specify&nbsp;it&nbsp;on&nbsp;the&nbsp;client-side.&nbsp;For&nbsp;the&nbsp;TiledWmsLayer&nbsp;and&nbsp;you&nbsp;can&nbsp;add&nbsp;it&nbsp;like&nbsp;this&nbsp;way:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tiledWmsLayer.Crs&nbsp;=&nbsp;"EPSG:32737";  
And&nbsp;for&nbsp;WmsOverlay&nbsp;or&nbsp;other&nbsp;overlays&nbsp;used&nbsp;to&nbsp;consume&nbsp;WMS&nbsp;Server&nbsp;and&nbsp;you&nbsp;can&nbsp;add&nbsp;it&nbsp;like&nbsp;this&nbsp;way:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wmsOverlay.Parameters.Add("SRS",&nbsp;"EPSG:32737");  
Thanks,  
Khalil

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 8, 2010, 9:15am UTC](https://community.thinkgeo.com/t/projection/7309/5 "2010-09-08T09:15:38Z")

</div>

Hi&nbsp;Khalil

Thank&nbsp;you&nbsp;for&nbsp;the&nbsp;reply.&nbsp;Basically&nbsp;what&nbsp;I&nbsp;am&nbsp;trying&nbsp;to&nbsp;do&nbsp;is&nbsp;to&nbsp;programmatically&nbsp;set&nbsp;up&nbsp;my&nbsp;plugin&nbsp;to&nbsp;open&nbsp;an&nbsp;ESRI&nbsp;shape&nbsp;file.&nbsp;I&nbsp;have&nbsp;tried&nbsp;to&nbsp;follow&nbsp;the&nbsp;instructions&nbsp;you&nbsp;have&nbsp;given&nbsp;me&nbsp;but&nbsp;I&nbsp;have&nbsp;not&nbsp;yet&nbsp;managed&nbsp;to&nbsp;open&nbsp;the&nbsp;shape&nbsp;file.&nbsp;If&nbsp;you&nbsp;have&nbsp;any&nbsp;other&nbsp;alternative&nbsp;way&nbsp;of&nbsp;openning&nbsp;an&nbsp;ESRI&nbsp;shape&nbsp;file&nbsp;or&nbsp;even&nbsp;a&nbsp;sample&nbsp;code&nbsp;snipet,&nbsp;I&nbsp;truly&nbsp;appreciate&nbsp;if&nbsp;you&nbsp;pass&nbsp;it&nbsp;to&nbsp;me.

Best&nbsp;Regards,

Vincent

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 8, 2010, 7:52pm UTC](https://community.thinkgeo.com/t/projection/7309/6 "2010-09-08T19:52:36Z")

</div>

Hi,&nbsp;Vincent

I&nbsp;guess&nbsp;there&nbsp;is&nbsp;some&nbsp;problem&nbsp;in&nbsp;your&nbsp;codes.  
Can&nbsp;you&nbsp;send&nbsp;the&nbsp;ESRI&nbsp;shape&nbsp;file&nbsp;to&nbsp;us?&nbsp;So&nbsp;we&nbsp;can&nbsp;have&nbsp;a&nbsp;try&nbsp;for&nbsp;it.&nbsp;If&nbsp;you&nbsp;would&nbsp;like&nbsp;to&nbsp;do&nbsp;that,&nbsp;please&nbsp;send&nbsp;it&nbsp;to&nbsp;[forumsupport@thinkgeo.com](mailto:forumsupport@thinkgeo.com).&nbsp;If&nbsp;so,&nbsp;I&nbsp;suggest&nbsp;you&nbsp;send&nbsp;it&nbsp;using&nbsp;another&nbsp;email&nbsp;account,&nbsp;because&nbsp;your&nbsp;last&nbsp;email&nbsp;includes&nbsp;virus&nbsp;and&nbsp;your&nbsp;account&nbsp;seems&nbsp;has&nbsp;been&nbsp;blocked.  
Also&nbsp;you&nbsp;can&nbsp;give&nbsp;a&nbsp;try&nbsp;for&nbsp;the&nbsp;Map&nbsp;Suite&nbsp;Explorer&nbsp;which&nbsp;is&nbsp;a&nbsp;home&nbsp;grown&nbsp;explore&nbsp;tool&nbsp;for&nbsp;shape&nbsp;files,&nbsp;and&nbsp;you&nbsp;just&nbsp;need&nbsp;to&nbsp;drag&nbsp;your&nbsp;data&nbsp;to&nbsp;it.  
If&nbsp;you&nbsp;have&nbsp;additional&nbsp;questions,&nbsp;please&nbsp;let&nbsp;me&nbsp;know.  
Thanks,  
Khalil

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 8, 2010, 10:11pm UTC](https://community.thinkgeo.com/t/projection/7309/7 "2010-09-08T22:11:05Z")

</div>

Hi&nbsp;Khalil

Thank&nbsp;you&nbsp;for&nbsp;your&nbsp;reply.&nbsp;I&nbsp;have&nbsp;opened&nbsp;my&nbsp;shape&nbsp;file&nbsp;using&nbsp;Map&nbsp;Suite&nbsp;explorer&nbsp;and&nbsp;detected&nbsp;that,&nbsp;it&nbsp;was&nbsp;missing&nbsp;spatial&nbsp;index.&nbsp;Having&nbsp;created&nbsp;the&nbsp;spatial&nbsp;index&nbsp;the&nbsp;shape&nbsp;file&nbsp;opened&nbsp;in&nbsp;the&nbsp;explorer.&nbsp;In&nbsp;my&nbsp;code&nbsp;now,&nbsp;there&nbsp;is&nbsp;no&nbsp;more&nbsp;error&nbsp;messages&nbsp;but&nbsp;it&nbsp;is&nbsp;opening&nbsp;a&nbsp;blunk&nbsp;map&nbsp;and&nbsp;the&nbsp;customColumn&nbsp;fetch&nbsp;event&nbsp;does&nbsp;not&nbsp;fire.&nbsp;Can&nbsp;you&nbsp;say&nbsp;something&nbsp;based&nbsp;on&nbsp;this&nbsp;clue?

Best&nbsp;Regards,

Vincent

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 8, 2010, 10:59pm UTC](https://community.thinkgeo.com/t/projection/7309/8 "2010-09-08T22:59:41Z")

</div>

Hi&nbsp;Khalil

On&nbsp;the&nbsp;Map&nbsp;suite&nbsp;explorer,&nbsp;if&nbsp;I&nbsp;begin&nbsp;by&nbsp;adding&nbsp;countries&nbsp;layer&nbsp;from&nbsp;your&nbsp;sample&nbsp;data&nbsp;is&nbsp;shows&nbsp;well,&nbsp;and&nbsp;then&nbsp;if&nbsp;I&nbsp;Add&nbsp;my&nbsp;layer,&nbsp;the&nbsp;layer&nbsp;of&nbsp;mine&nbsp;does&nbsp;not&nbsp;show.&nbsp;And&nbsp;if&nbsp;I&nbsp;begin&nbsp;with&nbsp;adding&nbsp;my&nbsp;layer&nbsp;and&nbsp;then&nbsp;yours,&nbsp;mine&nbsp;show&nbsp;but&nbsp;yours&nbsp;does&nbsp;not.

I&nbsp;think&nbsp;there&nbsp;is&nbsp;a&nbsp;problem&nbsp;of&nbsp;scaling.&nbsp;And&nbsp;the&nbsp;same&nbsp;might&nbsp;be&nbsp;happening&nbsp;in&nbsp;my&nbsp;code&nbsp;because&nbsp;my&nbsp;shape&nbsp;file&nbsp;does&nbsp;not&nbsp;show&nbsp;and&nbsp;unlike&nbsp;the&nbsp;previous&nbsp;trials,&nbsp;this&nbsp;time&nbsp;there&nbsp;is&nbsp;no&nbsp;any&nbsp;error&nbsp;message&nbsp;returned.

Best&nbsp;Regards,

Vincent

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 9, 2010, 12:50am UTC](https://community.thinkgeo.com/t/projection/7309/9 "2010-09-09T00:50:47Z")

</div>

Vincent,

These&nbsp;two&nbsp;shape&nbsp;files&nbsp;have&nbsp;different&nbsp;projections&nbsp;so&nbsp;that&nbsp;they&nbsp;can’t&nbsp;overlap&nbsp;with&nbsp;each&nbsp;other&nbsp;in&nbsp;the&nbsp;Map&nbsp;Suite&nbsp;Explorer.

Have&nbsp;you&nbsp;set&nbsp;the&nbsp;projection&nbsp;on&nbsp;the&nbsp;FeatureSource&nbsp;of&nbsp;ShapeFileFeatureLayer?&nbsp;If&nbsp;you&nbsp;use&nbsp;ESRI&nbsp;shape&nbsp;file&nbsp;and&nbsp;its&nbsp;projection&nbsp;is&nbsp;not&nbsp;“EPSG:4326”&nbsp;and&nbsp;you&nbsp;need&nbsp;to&nbsp;project&nbsp;it.&nbsp;If&nbsp;you&nbsp;don’t&nbsp;familiar&nbsp;with&nbsp;how&nbsp;to&nbsp;set&nbsp;the&nbsp;projection,&nbsp;please&nbsp;refer&nbsp;to&nbsp;the&nbsp;samples&nbsp;included&nbsp;in&nbsp;the&nbsp;“Samples\Projection”&nbsp;folder&nbsp;in&nbsp;our&nbsp;installed&nbsp;samples.

If&nbsp;you&nbsp;still&nbsp;can’t&nbsp;show&nbsp;it,&nbsp;please&nbsp;send&nbsp;your&nbsp;data&nbsp;to&nbsp;us&nbsp;and&nbsp;we&nbsp;will&nbsp;address&nbsp;it&nbsp;quickly.&nbsp;Your&nbsp;help&nbsp;will&nbsp;be&nbsp;appreciated.

Thanks,

Khalil

&nbsp;

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 9, 2010, 8:55am UTC](https://community.thinkgeo.com/t/projection/7309/10 "2010-09-09T08:55:45Z")

</div>

Hi&nbsp;Khalil

Thank&nbsp;you&nbsp;for&nbsp;the&nbsp;help.&nbsp;I&nbsp;have&nbsp;put&nbsp;projection&nbsp;in&nbsp;my&nbsp;code&nbsp;for&nbsp;the&nbsp;ESRI&nbsp;shape&nbsp;file&nbsp;and&nbsp;everything&nbsp;is&nbsp;going&nbsp;well,&nbsp;even&nbsp;the&nbsp;customColumnFetch&nbsp;event&nbsp;is&nbsp;firing,&nbsp;except&nbsp;that&nbsp;there&nbsp;is&nbsp;no&nbsp;any&nbsp;map&nbsp;displayed.&nbsp;There&nbsp;is&nbsp;no&nbsp;error&nbsp;message&nbsp;returned.&nbsp;Below&nbsp;is&nbsp;my&nbsp;code.

&nbsp;

&nbsp;

protected&nbsp;override&nbsp;MapConfiguration&nbsp;GetMapConfigurationCore(string&nbsp;style,&nbsp;string&nbsp;crs)//&nbsp;Get&nbsp;the&nbsp;directory&nbsp;to&nbsp;the&nbsp;sample&nbsp;data

&nbsp;

//string&nbsp;worldLayerFilePath&nbsp;=&nbsp;Directory.GetParent(Directory.GetParent(AppDomain.CurrentDomain.BaseDirectory).FullName).FullName&nbsp;+&nbsp;"\\SampleData\\Countries02.shp";

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

proj4.InternalProjectionParametersString&nbsp;=&nbsp;proj;

proj4.ExternalProjectionParametersString&nbsp;=

&nbsp;

&nbsp;

&nbsp;

worldLayer.FeatureSource.Projection&nbsp;=&nbsp;proj4;

worldLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle&nbsp;=

worldLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle&nbsp;=

worldLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel&nbsp;=

worldLayer.FeatureSource.CustomColumnFetch&nbsp;+=

&nbsp;

&nbsp;

mapConfiguration.Layers.Add(

&nbsp;

&nbsp;

&nbsp;

}

&nbsp;

{

string&nbsp;worldLayerFilePath&nbsp;=&nbsp;Directory.GetParent(Directory.GetParent(AppDomain.CurrentDomain.BaseDirectory).FullName).FullName&nbsp;+&nbsp;"\\SampleData\\MAKUTI\_region.shp";string&nbsp;proj&nbsp;=&nbsp;"+proj=utm&nbsp;+zone=37&nbsp;+south&nbsp;+ellps=WGS84&nbsp;+datum=WGS84&nbsp;+units=m&nbsp;+no\_defs";Proj4Projection&nbsp;proj4&nbsp;=&nbsp;new&nbsp;Proj4Projection();&nbsp;Proj4Projection.GetEpsgParametersString(4326);ShapeFileFeatureLayer&nbsp;worldLayer&nbsp;=&nbsp;new&nbsp;ShapeFileFeatureLayer(worldLayerFilePath);TextStyles.Capital1("Test11");AreaStyles.Country1;ApplyUntilZoomLevel.Level20;new&nbsp;EventHandler\<CustomColumnFetchEventArgs\>(FeatureSource\_CustomColumnFetch);MapConfiguration&nbsp;mapConfiguration&nbsp;=&nbsp;new&nbsp;MapConfiguration();&nbsp;"WorldLayer",&nbsp;worldLayer);return&nbsp;mapConfiguration;void&nbsp;FeatureSource\_CustomColumnFetch(object&nbsp;sender,&nbsp;CustomColumnFetchEventArgs&nbsp;e)

&nbsp;

e.ColumnValue&nbsp;=

&nbsp;

}

&nbsp;

string&nbsp;columnName&nbsp;=&nbsp;e.ColumnName;"My&nbsp;Country";&nbsp;

{

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 9, 2010, 9:00am UTC](https://community.thinkgeo.com/t/projection/7309/11 "2010-09-09T09:00:20Z")

</div>

Sorry&nbsp;Khalil

The&nbsp;code&nbsp;in&nbsp;the&nbsp;above&nbsp;post&nbsp;does&nbsp;not&nbsp;show&nbsp;well.&nbsp;I&nbsp;have&nbsp;attached&nbsp;a&nbsp;text&nbsp;file&nbsp;here&nbsp;with&nbsp;the&nbsp;same&nbsp;code.

Best&nbsp;Regards,

Vincent.

[MyCode.txt](https://community.thinkgeo.com/uploads/default/original/2X/f/fb8a6536b8f80bb6a833b0d12923299a07d8bddd.txt) (2.02 KB)

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 10, 2010, 4:28am UTC](https://community.thinkgeo.com/t/projection/7309/12 "2010-09-10T04:28:01Z")

</div>

Hi,&nbsp;Vincent&nbsp;  
&nbsp;&nbsp;  
&nbsp;Maybe&nbsp;there&nbsp;is&nbsp;some&nbsp;problem&nbsp;beteween&nbsp;32737&nbsp;of&nbsp;EPSG&nbsp;and&nbsp;4326&nbsp;of&nbsp;EPSG.&nbsp;Can&nbsp;you&nbsp;send&nbsp;us&nbsp;the&nbsp;data&nbsp;you&nbsp;are&nbsp;consuming?&nbsp;So&nbsp;that&nbsp;we&nbsp;can&nbsp;test&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Khalil

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 10, 2010, 9:56pm UTC](https://community.thinkgeo.com/t/projection/7309/13 "2010-09-10T21:56:30Z")

</div>

Hi&nbsp;Khalil

Thank&nbsp;you&nbsp;for&nbsp;the&nbsp;reply.&nbsp;I&nbsp;have&nbsp;learned&nbsp;that,&nbsp;the&nbsp;map&nbsp;is&nbsp;openning&nbsp;but&nbsp;at&nbsp;a&nbsp;very&nbsp;tiny&nbsp;scale.&nbsp;I&nbsp;have&nbsp;attached&nbsp;my&nbsp;latest&nbsp;code&nbsp;on&nbsp;the&nbsp;issue.&nbsp;Can&nbsp;you&nbsp;please&nbsp;help&nbsp;me&nbsp;with&nbsp;how&nbsp;to&nbsp;set&nbsp;a&nbsp;scale&nbsp;to&nbsp;the&nbsp;map&nbsp;programatically.

Best&nbsp;Regards,

Vincent

[001\_MyCode.txt](https://community.thinkgeo.com/uploads/default/original/2X/0/07c746b274d2cf8991a3f71e267334321c522fe9.txt) (2.36 KB)

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 12, 2010, 11:57pm UTC](https://community.thinkgeo.com/t/projection/7309/14 "2010-09-12T23:57:43Z")

</div>

Hi,&nbsp;Vincent

Thanks&nbsp;for&nbsp;you&nbsp;attached&nbsp;shape&nbsp;file&nbsp;from&nbsp;email.&nbsp;I&nbsp;have&nbsp;tried&nbsp;to&nbsp;render&nbsp;it,&nbsp;please&nbsp;see&nbsp;the&nbsp;codes&nbsp;in&nbsp;the&nbsp;attached&nbsp;“arterial\_shape\_file”&nbsp;flat&nbsp;file.  
If&nbsp;you&nbsp;want&nbsp;to&nbsp;set&nbsp;the&nbsp;scale,&nbsp;and&nbsp;you&nbsp;need&nbsp;to&nbsp;get&nbsp;the&nbsp;BoundingBox&nbsp;from&nbsp;the&nbsp;ShapeFileFeatureLayer&nbsp;like&nbsp;the&nbsp;codes&nbsp;below:  
&nbsp;&nbsp;worldLayer.Open();  
&nbsp;&nbsp;RectangleShape&nbsp;extent&nbsp;=&nbsp;worldLayer.GetBoundingBox();  
&nbsp;worldLayer.Close();  
And&nbsp;then&nbsp;set&nbsp;it&nbsp;on&nbsp;the&nbsp;CurrentExtent&nbsp;property&nbsp;of&nbsp;map&nbsp;control.  
Thanks,  
Khalil

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 13, 2010, 7:56pm UTC](https://community.thinkgeo.com/t/projection/7309/15 "2010-09-13T19:56:42Z")

</div>

Hi,&nbsp;Vincent

I&nbsp;have&nbsp;got&nbsp;the&nbsp;“Dar\_Ward”&nbsp;shape&nbsp;file&nbsp;just&nbsp;now,&nbsp;and&nbsp;I&nbsp;have&nbsp;given&nbsp;a&nbsp;try&nbsp;for&nbsp;that.&nbsp;You&nbsp;don’t&nbsp;need&nbsp;to&nbsp;project&nbsp;it.&nbsp;Please&nbsp;refer&nbsp;to&nbsp;the&nbsp;code&nbsp;in&nbsp;the&nbsp;attachment.  
If&nbsp;you&nbsp;have&nbsp;additional&nbsp;questions,&nbsp;please&nbsp;let&nbsp;us&nbsp;know.  
Thanks,  
Khalil  
  
[Codes\_Server&Client.txt](https://community.thinkgeo.com/uploads/default/original/2X/d/de344b051822ca72bd522c3d8c585aa2faaf756c.txt) (2.17 KB)

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 13, 2010, 9:59pm UTC](https://community.thinkgeo.com/t/projection/7309/16 "2010-09-13T21:59:12Z")

</div>

Hi&nbsp;Khalil

Thank&nbsp;you&nbsp;for&nbsp;the&nbsp;reply.&nbsp;It&nbsp;has&nbsp;worked&nbsp;and&nbsp;I&nbsp;have&nbsp;discovered&nbsp;where&nbsp;I&nbsp;was&nbsp;making&nbsp;mistakes.&nbsp;My&nbsp;big&nbsp;problem&nbsp;is&nbsp;on&nbsp;specifying&nbsp;RectangleShape&nbsp;in&nbsp;the&nbsp;plugin&nbsp;side&nbsp;and&nbsp;client&nbsp;side.&nbsp;Can&nbsp;you&nbsp;give&nbsp;me&nbsp;any&nbsp;elaborative&nbsp;material&nbsp;that&nbsp;I&nbsp;can&nbsp;read&nbsp;through&nbsp;and&nbsp;get&nbsp;more&nbsp;insights&nbsp;over&nbsp;the&nbsp;issue&nbsp;here?

&nbsp;

Best&nbsp;Regards,

Vincent

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 13, 2010, 10:20pm UTC](https://community.thinkgeo.com/t/projection/7309/17 "2010-09-13T22:20:37Z")

</div>

Hi&nbsp;Khalil

I&nbsp;have&nbsp;also&nbsp;been&nbsp;trying&nbsp;without&nbsp;success&nbsp;to&nbsp;access&nbsp;the&nbsp;same&nbsp;plugin&nbsp;from&nbsp;a&nbsp;silverlight&nbsp;client.&nbsp;Can&nbsp;you&nbsp;please&nbsp;give&nbsp;me&nbsp;a&nbsp;sample&nbsp;code&nbsp;to&nbsp;display&nbsp;the&nbsp;same&nbsp;Dar\_Ward.shp&nbsp;in&nbsp;the&nbsp;silverlight&nbsp;client?

Best&nbsp;Regards,

Vincent

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 14, 2010, 2:32am UTC](https://community.thinkgeo.com/t/projection/7309/18 "2010-09-14T02:32:21Z")

</div>

Hi,&nbsp;Vincent

Here&nbsp;is&nbsp;a&nbsp;sample&nbsp;code&nbsp;for&nbsp;how&nbsp;to&nbsp;consume&nbsp;WMS&nbsp;service&nbsp;in&nbsp;MapSuite&nbsp;SilverlightEdition&nbsp;product.&nbsp;Please&nbsp;have&nbsp;a&nbsp;look&nbsp;at&nbsp;it.  
Thanks,

Khalil

[SilverlightApplicationForVincent.zip](https://community.thinkgeo.com/uploads/default/original/2X/2/27f4b740a34c73eae4e2e4e1ccd5b65784804a47.zip) (18.4 KB)

---

<div class="post-metadata">

**Author:** ![Vincent](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e9bcb4/32.png) [@Vincent](https://community.thinkgeo.com/u/Vincent)\
**Post date:** [September 15, 2010, 3:04am UTC](https://community.thinkgeo.com/t/projection/7309/19 "2010-09-15T03:04:04Z")

</div>

&nbsp;

Hi&nbsp;Khalil  
Thank&nbsp;you&nbsp;for&nbsp;the&nbsp;reply.&nbsp;It&nbsp;has&nbsp;worked&nbsp;and&nbsp;I&nbsp;have&nbsp;discovered&nbsp;where&nbsp;I&nbsp;was&nbsp;making&nbsp;mistakes.&nbsp;My&nbsp;big&nbsp;problem&nbsp;is&nbsp;on&nbsp;specifying&nbsp;RectangleShape&nbsp;in&nbsp;the&nbsp;plugin&nbsp;side&nbsp;and&nbsp;client&nbsp;side.&nbsp;Can&nbsp;you&nbsp;give&nbsp;me&nbsp;any&nbsp;elaborative&nbsp;material&nbsp;that&nbsp;I&nbsp;can&nbsp;read&nbsp;through&nbsp;and&nbsp;get&nbsp;more&nbsp;insights&nbsp;over&nbsp;the&nbsp;issue&nbsp;here  
Best&nbsp;Regards,

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [September 16, 2010, 8:56pm UTC](https://community.thinkgeo.com/t/projection/7309/20 "2010-09-16T20:56:54Z")

</div>

Hi,&nbsp;Vincent

I&nbsp;suggest&nbsp;that&nbsp;you&nbsp;can&nbsp;refer&nbsp;to&nbsp;our&nbsp;Quick&nbsp;Start&nbsp;Guide&nbsp;which&nbsp;will&nbsp;tell&nbsp;you&nbsp;what&nbsp;is&nbsp;ShapeFileFeatureLayer&nbsp;or&nbsp;Map,&nbsp;and&nbsp;how&nbsp;to&nbsp;use&nbsp;Styles&nbsp;etc.,&nbsp;and&nbsp;will&nbsp;help&nbsp;you&nbsp;become&nbsp;familiar&nbsp;with&nbsp;Map&nbsp;Suite&nbsp;products.  
&nbsp;  
Also&nbsp;if&nbsp;you&nbsp;have&nbsp;any&nbsp;questions&nbsp;about&nbsp;our&nbsp;products,&nbsp;and&nbsp;you&nbsp;can&nbsp;raise&nbsp;a&nbsp;post&nbsp;in&nbsp;Map&nbsp;Suite&nbsp;Discussion&nbsp;Forums&nbsp;and&nbsp;you&nbsp;will&nbsp;get&nbsp;a&nbsp;quick&nbsp;response&nbsp;for&nbsp;your&nbsp;questions.  
&nbsp;  
Thanks,  
&nbsp;  
Khalil
