Parking Lot

4354
7
02-17-2013 10:38 PM
ziadfilfili
New Contributor II
Hello,

If I want to create a parking lot with plenty of parking spaces for cars in a plot
Is there any rule for this, that can be made ?

Regards,
Tags (2)
0 Kudos
7 Replies
MatthiasBuehler1
Frequent Contributor II
Hi !

There's no rule for this yet available, but this should be possible.

Can you post 2,3 reference images ?

m.
0 Kudos
ziadfilfili
New Contributor II
Those are some reference images the way i am thinking of parking lots to do.
0 Kudos
MatthiasBuehler1
Frequent Contributor II
Hi !

Yes, such a rule can be created. That's not very complicated.

Are you already a little familiar with CGA ? Already did some scripting yourself ?

m.
0 Kudos
ziadfilfili
New Contributor II
Hey,

yes I did some scripting. I am trying to figure it out such applying it as a texture but still nthg happened.
Cuz i need to place the cars with-in the lines. Is there a way to control the number of parking spots (lines) ?
thanks for the help..
0 Kudos
MatthiasBuehler1
Frequent Contributor II
Hi ..

See attached image.

0] alignScopeToGeometry(yUp, any, longest)
1] Red split.
2] Dark blue split. tricky : repetitive split !!
3] Green split.
4] Light blue split ( repetitive ).


[ATTACH=CONFIG]21940[/ATTACH]

Hope this helps.

m.
0 Kudos
MatthiasSmink
New Contributor II

apologies for resurrecting such an old post, but I would like to create a similar thing. However, I am a complete novice when it comes to CGA and scripting. I have followed the tutorials but still struggle. 

Your last past did not make any sense to me. 

I'd be trying to recreate something like the attached image, but with white lines and the option to add 'open space' islands.

parking lot

0 Kudos
CherylLau
Esri Regular Contributor

A search of old Geonet posts led to the following, some which have included code:

parking garage 

Parking lot and private street 

Project Showcase 

In general, you'll probably want to use multiple (nested) splits to divide your lot into rows and then into parking spots. Use case statements to choose whether or not to create open spaces.

split operation—CGA | Documentation 

0 Kudos