Register  |  Login   Search
ThinkGeo - GPS Tracking and Mapping Solutions  |  Home  |  Cygnus Track  |  Developer Community
 
LivePerson Chat

Discussion Forums

The online community for users of Map Suite GIS components

Steets not showing up
Last Post 09-22-2006 05:16 PM by Dwight. 4 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
DwightUser is Offline
Level 1
Level 1
Posts:8

--
09-21-2006 03:29 PM
Specs:
Visual Studio 2005 C#
MapSuite Web 2.0
RenderUSA

When I zoom in to where a street should show up the street is not showing up but when I browse the shape file with a different app I can see the street.

For example:
6075 Emerald Pky
Columbus OH 43016
40.076994, -83.140254

Emerald Parkway does not show up on the map with RenderUSA but if I just manually look at the shape file \RenderUSAData\OH\Franklin\tgr39049lkA.shp I see Emerald Parkway.

Im assuming the threshold needs tweaked in RenderUSA. Can you point help me out?

Thanks.
ThinkGeoUser is Offline
MVP
MVP
Posts:1594
Avatar

--
09-22-2006 10:56 AM

dlantz,

Thanks for your post!

I was able to see Emerald Pky in RenderUSA. Check out this link:

http://samples.spatiallyaware.com/RenderUSAWebformsSampleApps/RenderUSASample.aspx

This is the same version that you were sent for evaluation.Once the code reaches a point that it is loading up the streets, all the street shape files will be referenced. Meaning that changing the threshold values would affect all the streets, not just one.

ThinkGeo Support

DwightUser is Offline
Level 1
Level 1
Posts:8

--
09-22-2006 12:10 PM
The link you posted is how I want my map to look.

But from what I have alot of the streets are not showing up.

Here is what I have:
I received an eval of RenderUSA for Desktop which came with a Demo Desktop Project that I used to gen a dll that I reference in my apps.
I downloaded the demo MapSuite Web and Desktop.
I asked for an Web example of RenderUSA. I receieved an email with a Demo Web Project that I used to gen a dll that I reference in my apps.

I coded my app but some streets arent showing up. I didnt change anything in RenderUSA because from my understanding I shouldnt have to.

I then went and tried your Demo Desktop App that came with RenderUSA and it also doesnt show some streets.

I put an image of what my map looks like compared to yours. The left map is yours. On the right is mine. If I try to zoom in any farther then nothing shows up on the map.
http://img115.imageshack.us/img115/1488/thinkgeofg4.jpg

Also your map and my map look different. I want mine to look like yours and I thought RenderUSA would do this. Maybe I do not have the lastest project for RenderUSA?

Thanks for th help.

ThinkGeoUser is Offline
MVP
MVP
Posts:1594
Avatar

--
09-22-2006 05:02 PM

dlantz,

If you are using the C# samples then there is a small change to be made. You will need to create the BeforeLayersDraw event and paste some code into it.

To do this:
1. Open RenderUSAWinforms and “View Designer” on “Sample.cs”.
2. Click on the Map Control and then click on the “View Events” lightning bolt.
3. Double-click on the empty box to the right of the BeforeLayersDraw Event. This will create the event that we need to add code to.

4. Add this code to your BeforeLayersDraw Event:

if (mRenderUSA != null)

mRenderUSA.RefreshUSALayers(Map1.CurrentExtent);

5. Run the project.

This will load all the streets that were missing.
Note: This issue is not present in the next RenderUSA.

ThinkGeo Support

DwightUser is Offline
Level 1
Level 1
Posts:8

--
09-22-2006 05:16 PM
That fixed it.

Thanks.
You are not authorized to post a reply.

Active Forums 4.1